summaryrefslogtreecommitdiff
path: root/examples/make_dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-22 00:53:30 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-22 00:53:30 +0100
commitbebe2f996176113a527bf2492fd179420493d0ff (patch)
treedae6c7cee330d56fbbd6c6da826052f09c063aaf /examples/make_dcp.cc
parent472b1e897fd6031bfeaac93d715391cc221067d1 (diff)
c++11 bits in examples/
Diffstat (limited to 'examples/make_dcp.cc')
-rw-r--r--examples/make_dcp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index 3326fcf2..8683dc30 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -93,7 +93,7 @@ main ()
sound_writer->finalize ();
/* Now create a reel */
- std::shared_ptr<dcp::Reel> reel (new dcp::Reel ());
+ auto reel = std::make_shared<dcp::Reel>();
/* Add picture and sound to it. The zeros are the `entry points', i.e. the first
(video) frame from the assets that the reel should play.