diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-11 02:19:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-11 02:19:41 +0100 |
| commit | a6660bb2fc04ac065fbf34e8be665915750b8080 (patch) | |
| tree | 8124349a336a01ac962cea9da013bf05f8673134 /src/lib/create_cli.cc | |
| parent | 504fded3b686a3186416cd62f4b7fa8ce7fb4932 (diff) | |
fixup! Replace deprecated leaf() with filename().
Diffstat (limited to 'src/lib/create_cli.cc')
| -rw-r--r-- | src/lib/create_cli.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index 6752be409..1c2f2c635 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -316,7 +316,7 @@ CreateCLI::CreateCLI (int argc, char* argv[]) } if (_name.empty()) { - _name = content[0].path.leaf().string(); + _name = content[0].path.filename().string(); } if (_j2k_bandwidth && (*_j2k_bandwidth < 10000000 || *_j2k_bandwidth > Config::instance()->maximum_j2k_bandwidth())) { |
