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");