diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-29 01:47:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-29 01:47:32 +0100 |
| commit | ce73eaf7875a9a3326afcd839ad85eb95879c160 (patch) | |
| tree | c4cff45a7bada9aebf48b6e51c5dffe086045e20 /test/subtitle_reel_test.cc | |
| parent | 0f772d68ef7fb32002538ce9ca7c9764d0d7135b (diff) | |
Cleanup: test tidying.
Diffstat (limited to 'test/subtitle_reel_test.cc')
| -rw-r--r-- | test/subtitle_reel_test.cc | 7 |
1 files changed, 3 insertions, 4 deletions
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<dcp::CPL> cpl = dcp.cpls().front(); + auto cpl = dcp.cpls().front(); auto reels = cpl->reels (); BOOST_REQUIRE_EQUAL (reels.size(), 2U); |
