projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5946d51
)
C++11 tidying.
author
Carl Hetherington
<cth@carlh.net>
Wed, 27 Oct 2021 21:23:11 +0000
(23:23 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 27 Oct 2021 21:23:11 +0000
(23:23 +0200)
test/subtitle_reel_test.cc
patch
|
blob
|
history
diff --git
a/test/subtitle_reel_test.cc
b/test/subtitle_reel_test.cc
index 4a2021ba96ed136ba45533b733507b6df62d8857..da6ae8a30fb09a3ce6025d5b97e4715f339cb604 100644
(file)
--- a/
test/subtitle_reel_test.cc
+++ b/
test/subtitle_reel_test.cc
@@
-34,11
+34,9
@@
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test.hpp>
-using std::list;
using std::string;
using std::shared_ptr;
using std::make_shared;
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 */
/* 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);
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);
auto reels = cpl->reels ();
BOOST_REQUIRE_EQUAL (reels.size(), 2U);