diff options
Diffstat (limited to 'test/closed_caption_test.cc')
| -rw-r--r-- | test/closed_caption_test.cc | 4 |
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"); |
