summaryrefslogtreecommitdiff
path: root/test/closed_caption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
commitcb6729aa79b555b219974207fbe2ff0510f9d3ea (patch)
tree973024e5dbf8bd8d873850909665e6229138ef57 /test/closed_caption_test.cc
parentd24251b2e0d82236f93ee5415b72849dee2a0ac8 (diff)
Bump libdcp for better verification, and make API adjustments.
Diffstat (limited to 'test/closed_caption_test.cc')
-rw-r--r--test/closed_caption_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc
index 4c59be72b..48fc8e05c 100644
--- a/test/closed_caption_test.cc
+++ b/test/closed_caption_test.cc
@@ -83,10 +83,10 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2)
BOOST_REQUIRE_EQUAL (check.cpls().size(), 1U);
BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1U);
- list<shared_ptr<dcp::ReelClosedCaptionAsset> > ccaps = check.cpls().front()->reels().front()->closed_captions();
+ auto ccaps = check.cpls().front()->reels().front()->closed_captions();
BOOST_REQUIRE_EQUAL (ccaps.size(), 3U);
- list<shared_ptr<dcp::ReelClosedCaptionAsset> >::const_iterator i = ccaps.begin ();
+ auto i = ccaps.begin ();
BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");
BOOST_REQUIRE (static_cast<bool>((*i)->language()));
BOOST_CHECK_EQUAL ((*i)->language().get(), "fr-FR");