diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-11 09:38:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-11 09:38:55 +0100 |
| commit | f897f274ea42db23d1d5fad8ca9c0f2f828fd25e (patch) | |
| tree | 968a9f5446e447ba0797e789ba7987814f2a2a6f | |
| parent | a6660bb2fc04ac065fbf34e8be665915750b8080 (diff) | |
fixup! Replace deprecated leaf() with filename().2650-fedora-39
| -rw-r--r-- | src/lib/job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |
