summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-13 13:29:37 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-13 13:29:47 +0100
commit934161c7799a1047f4d949a7e481abd47304e096 (patch)
tree62785c25bec0b8bf1c96b76341e76979e68a436f
parente9e1ed26498f86b834030d43bf3f553b7baa7a6b (diff)
Fix deprecated boost method in example.
-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 */