summaryrefslogtreecommitdiff
path: root/test/util_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-11 00:16:40 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commitd95eacd3851a20e52202465ec22b4f72a4983dc8 (patch)
tree1dfc1092ae7d2e6b6b7c313ad808415f578d9712 /test/util_test.cc
parentcbee0d077e698541afcea82a95bafcea5245ab89 (diff)
Replace std::list with std::vector in the API.
Diffstat (limited to 'test/util_test.cc')
-rw-r--r--test/util_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util_test.cc b/test/util_test.cc
index b82b3f18..21a0d7bc 100644
--- a/test/util_test.cc
+++ b/test/util_test.cc
@@ -38,7 +38,7 @@
using std::ifstream;
using std::string;
-using std::list;
+using std::vector;
/** Test dcp::base64_decode */
BOOST_AUTO_TEST_CASE (base64_decode_test)
@@ -266,7 +266,7 @@ BOOST_AUTO_TEST_CASE (day_greater_than_or_equal_test)
BOOST_AUTO_TEST_CASE (unique_string_test)
{
- list<string> existing;
+ vector<string> existing;
for (int i = 0; i < 16; i++) {
string s;
BOOST_CHECK_NO_THROW (s = dcp::unique_string(existing, "foo"));