summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-05 00:43:00 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-05 00:43:00 +0100
commit5d1496fa502655d334439b4b2658625a2b3c1b70 (patch)
treedefaa6e2074a4e3fd93dae5c3899c51a12866a65 /src/tools
parentd50c23b8ddc05953322d2d0eb6ca5cb8ad88645f (diff)
C++11 tidying.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_create.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index 14eae6b3e..e4e674fbf 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -111,8 +111,8 @@ main (int argc, char* argv[])
}
for (auto i: cc.content) {
- boost::filesystem::path const can = boost::filesystem::canonical (i.path);
- list<shared_ptr<Content> > content;
+ auto const can = boost::filesystem::canonical (i.path);
+ list<shared_ptr<Content>> content;
if (boost::filesystem::exists (can / "ASSETMAP") || (boost::filesystem::exists (can / "ASSETMAP.xml"))) {
content.push_back (shared_ptr<DCPContent>(new DCPContent(can)));