summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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 432c2f27..6077e128 100644
--- a/examples/read_dcp.cc
+++ b/examples/read_dcp.cc
@@ -82,7 +82,7 @@ main ()
} else if (std::dynamic_pointer_cast<dcp::CPL>(i)) {
std::cout << "CPL\n";
}
- std::cout << "\t" << i->file()->leaf().string() << "\n";
+ std::cout << "\t" << i->file()->filename().string() << "\n";
}
/* Take the first CPL */