summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-27 23:23:11 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-27 23:23:11 +0200
commit5a9c7afb68167a11a61111b1e635b0c7d95cfa4f (patch)
tree8150a982e8715305599ed24e32a11983630a32a1 /test
parent5946d5105deb7ae0f3bfe1afc418c31e6748551c (diff)
C++11 tidying.
Diffstat (limited to 'test')
-rw-r--r--test/subtitle_reel_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc
index 4a2021ba9..da6ae8a30 100644
--- a/test/subtitle_reel_test.cc
+++ b/test/subtitle_reel_test.cc
@@ -34,11 +34,9 @@
#include <boost/test/unit_test.hpp>
-using std::list;
using std::string;
using std::shared_ptr;
using std::make_shared;
-using boost::optional;
/* Check that timings are done correctly for multi-reel DCPs with PNG subs */
@@ -72,7 +70,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);