summaryrefslogtreecommitdiff
path: root/test/kdm_cli_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-18 22:21:33 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-18 22:21:33 +0200
commit9f125fddff88bf62d36381f9d3f09e5240b033d5 (patch)
tree586e3040791a634f58e3c0d04e7550490af732f6 /test/kdm_cli_test.cc
parentc407bf65787162ea712595eecf9fbb409c7f0d1e (diff)
Cleanup: replace some list with vector.
Diffstat (limited to 'test/kdm_cli_test.cc')
-rw-r--r--test/kdm_cli_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/kdm_cli_test.cc b/test/kdm_cli_test.cc
index e300d82a5..c91cb64f4 100644
--- a/test/kdm_cli_test.cc
+++ b/test/kdm_cli_test.cc
@@ -31,7 +31,6 @@
#include <iostream>
-using std::list;
using std::string;
using std::vector;
using boost::optional;
@@ -86,13 +85,13 @@ setup_test_config()
auto config = Config::instance();
auto const cert = dcp::Certificate(dcp::file_to_string("test/data/cert.pem"));
- auto cinema_a = std::make_shared<Cinema>("Dean's Screens", list<string>(), "", 0, 0);
+ auto cinema_a = std::make_shared<Cinema>("Dean's Screens", vector<string>(), "", 0, 0);
cinema_a->add_screen(std::make_shared<dcpomatic::Screen>("Screen 1", "", cert, boost::none, std::vector<TrustedDevice>()));
cinema_a->add_screen(std::make_shared<dcpomatic::Screen>("Screen 2", "", cert, boost::none, std::vector<TrustedDevice>()));
cinema_a->add_screen(std::make_shared<dcpomatic::Screen>("Screen 3", "", cert, boost::none, std::vector<TrustedDevice>()));
config->add_cinema(cinema_a);
- auto cinema_b = std::make_shared<Cinema>("Floyd's Celluloid", list<string>(), "", 0, 0);
+ auto cinema_b = std::make_shared<Cinema>("Floyd's Celluloid", vector<string>(), "", 0, 0);
cinema_b->add_screen(std::make_shared<dcpomatic::Screen>("Foo", "", cert, boost::none, std::vector<TrustedDevice>()));
cinema_b->add_screen(std::make_shared<dcpomatic::Screen>("Bar", "", cert, boost::none, std::vector<TrustedDevice>()));
config->add_cinema(cinema_b);