summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-17 14:30:21 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-17 14:30:21 +0100
commit34f2b95c1638a2cfedf21de5a203d6c0b77abf11 (patch)
treebd78b7dbca7d975a89ef9628f6d4b2fd783a39f1 /examples
parent81ed0ebb725a7b5fec00ae209ba8b0d70ebc4ee1 (diff)
Use an optional<> where there should be one.
Diffstat (limited to 'examples')
-rw-r--r--examples/read_dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc
index 7bd1e2db..a851f0bb 100644
--- a/examples/read_dcp.cc
+++ b/examples/read_dcp.cc
@@ -72,7 +72,7 @@ main ()
} else if (boost::dynamic_pointer_cast<dcp::CPL> (*i)) {
std::cout << "CPL\n";
}
- std::cout << "\t" << (*i)->file().leaf().string() << "\n";
+ std::cout << "\t" << (*i)->file()->leaf().string() << "\n";
}
/* Take the first CPL */