X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fsubtitle_reel_test.cc;h=d7eb90d251eb45382eff78d2c4a78a2a1213a852;hp=f22698d1f6c82b3bd9d0b424b3f5f97fbbdf5c2c;hb=ce73eaf7875a9a3326afcd839ad85eb95879c160;hpb=0f772d68ef7fb32002538ce9ca7c9764d0d7135b diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc index f22698d1f..d7eb90d25 100644 --- a/test/subtitle_reel_test.cc +++ b/test/subtitle_reel_test.cc @@ -19,9 +19,9 @@ */ #include "lib/content_factory.h" +#include "lib/dcp_subtitle_content.h" #include "lib/film.h" #include "lib/image_content.h" -#include "lib/dcp_subtitle_content.h" #include "lib/text_content.h" #include "lib/video_content.h" #include "test.h" @@ -35,9 +35,8 @@ using std::list; -using std::string; -using std::shared_ptr; using std::make_shared; +using std::string; using boost::optional; @@ -72,7 +71,7 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_test) dcp::DCP dcp ("build/test/subtitle_reel_test/" + film->dcp_name()); dcp.read (); BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1U); - shared_ptr cpl = dcp.cpls().front(); + auto cpl = dcp.cpls().front(); auto reels = cpl->reels (); BOOST_REQUIRE_EQUAL (reels.size(), 2U);