summaryrefslogtreecommitdiff
path: root/test/stl_binary_writer_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-13 13:04:04 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-13 13:04:04 +0100
commitcafee6f81257fa81ee302b5d3ffa82213a0a6a44 (patch)
tree87797f282d0bc1ca62aed44cbf98528ebeb4be86 /test/stl_binary_writer_test.cc
parent18f00cbcdab8eaf3db1cb5a7fba3ed78bea565fa (diff)
Replace list with vector in most of the API.
Diffstat (limited to 'test/stl_binary_writer_test.cc')
-rw-r--r--test/stl_binary_writer_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/stl_binary_writer_test.cc b/test/stl_binary_writer_test.cc
index f77cba5..94e3b09 100644
--- a/test/stl_binary_writer_test.cc
+++ b/test/stl_binary_writer_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,12 +21,12 @@
#include "subtitle.h"
#include <boost/test/unit_test.hpp>
-using std::list;
+using std::vector;
/** Test writing of a binary STL file */
BOOST_AUTO_TEST_CASE (stl_binary_writer_test)
{
- list<sub::Subtitle> subs;
+ vector<sub::Subtitle> subs;
{
sub::Subtitle s;