summaryrefslogtreecommitdiff
path: root/test/reel_asset_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-11 20:49:18 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-11 20:50:12 +0200
commit3370a67e8a9aeaec45911ba1c714a0d259781fdf (patch)
treee1d49c3d59eeb94dfa836b90f8c9042df3528c82 /test/reel_asset_test.cc
parent3a94f95d49e99fe5936e19977c28de25033488a8 (diff)
Small bits of tidying up.
Diffstat (limited to 'test/reel_asset_test.cc')
-rw-r--r--test/reel_asset_test.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/reel_asset_test.cc b/test/reel_asset_test.cc
index e0c7f781..8d7a8971 100644
--- a/test/reel_asset_test.cc
+++ b/test/reel_asset_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2015-2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -31,23 +31,25 @@
files in the program, then also delete it here.
*/
+
#include "reel_mono_picture_asset.h"
-#include "reel_subtitle_asset.h"
+#include "reel_smpte_subtitle_asset.h"
#include <libcxml/cxml.h>
#include <boost/test/unit_test.hpp>
#include "stream_operators.h"
#include "test.h"
+using std::make_shared;
using std::string;
-using boost::optional;
using std::shared_ptr;
+using boost::optional;
/** Test the XML constructor of ReelPictureAsset */
BOOST_AUTO_TEST_CASE (reel_picture_asset_test)
{
- shared_ptr<cxml::Document> doc (new cxml::Document ("MainPicture"));
+ auto doc = make_shared<cxml::Document>("MainPicture");
doc->read_string (
"<MainPicture>"