diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-20 23:42:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-20 23:42:28 +0100 |
| commit | cb6729aa79b555b219974207fbe2ff0510f9d3ea (patch) | |
| tree | 973024e5dbf8bd8d873850909665e6229138ef57 /test/digest_test.cc | |
| parent | d24251b2e0d82236f93ee5415b72849dee2a0ac8 (diff) | |
Bump libdcp for better verification, and make API adjustments.
Diffstat (limited to 'test/digest_test.cc')
| -rw-r--r-- | test/digest_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/digest_test.cc b/test/digest_test.cc index 5145ee7e3..ba73461bf 100644 --- a/test/digest_test.cc +++ b/test/digest_test.cc @@ -79,9 +79,9 @@ BOOST_AUTO_TEST_CASE (digest_test) dcp::DCP dcp (film->dir (film->dcp_name ())); dcp.read (); BOOST_CHECK_EQUAL (dcp.cpls().size(), 1U); - list<shared_ptr<dcp::Reel> > reels = dcp.cpls().front()->reels (); + auto reels = dcp.cpls()[0]->reels(); - list<shared_ptr<dcp::Reel> >::const_iterator i = reels.begin (); + auto i = reels.begin (); BOOST_REQUIRE (i != reels.end ()); BOOST_REQUIRE ((*i)->main_picture()->hash()); BOOST_REQUIRE ((*i)->main_picture()->asset()->file()); |
