diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-11 00:16:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:23 +0100 |
| commit | d95eacd3851a20e52202465ec22b4f72a4983dc8 (patch) | |
| tree | 1dfc1092ae7d2e6b6b7c313ad808415f578d9712 /test/read_dcp_test.cc | |
| parent | cbee0d077e698541afcea82a95bafcea5245ab89 (diff) | |
Replace std::list with std::vector in the API.
Diffstat (limited to 'test/read_dcp_test.cc')
| -rw-r--r-- | test/read_dcp_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/read_dcp_test.cc b/test/read_dcp_test.cc index c885523a..7eed18d0 100644 --- a/test/read_dcp_test.cc +++ b/test/read_dcp_test.cc @@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE (read_dcp_test1) dcp::DCP d ("test/ref/DCP/dcp_test1"); d.read (); - list<shared_ptr<dcp::CPL> > cpls = d.cpls (); + auto cpls = d.cpls (); BOOST_CHECK_EQUAL (cpls.size(), 1); BOOST_CHECK_EQUAL (cpls.front()->annotation_text(), "A Test DCP"); @@ -60,7 +60,7 @@ BOOST_AUTO_TEST_CASE (read_dcp_test2) dcp::DCP d ("test/ref/DCP/dcp_test3"); d.read (); - list<shared_ptr<dcp::CPL> > cpls = d.cpls (); + auto cpls = d.cpls (); BOOST_CHECK_EQUAL (cpls.size(), 1); BOOST_CHECK_EQUAL (cpls.front()->annotation_text(), "Test_FTR-1_F-119_10_2K_20160524_IOP_OV"); |
