From f897f274ea42db23d1d5fad8ca9c0f2f828fd25e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 11 Nov 2023 09:38:55 +0100 Subject: fixup! Replace deprecated leaf() with filename(). --- src/lib/job.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/job.cc b/src/lib/job.cc index 727456523..28bdde7fc 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -111,7 +111,7 @@ Job::run_wrapper () } catch (dcp::FileError& e) { - string m = String::compose (_("An error occurred whilst handling the file %1."), boost::filesystem::path (e.filename()).leaf()); + string m = String::compose(_("An error occurred whilst handling the file %1."), e.filename().filename()); try { auto const s = dcp::filesystem::space(e.filename()); -- cgit v1.2.3