fixup! Replace deprecated leaf() with filename(). 2650-fedora-39
authorCarl Hetherington <cth@carlh.net>
Sat, 11 Nov 2023 08:38:55 +0000 (09:38 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 11 Nov 2023 08:38:55 +0000 (09:38 +0100)
src/lib/job.cc

index 727456523ca39e7e58f1045fa4df1aea3095d291..28bdde7fc2dd9d34d52643356162d388e7ae35a5 100644 (file)
@@ -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());