diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-21 23:06:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-21 23:06:34 +0200 |
| commit | 6d1a7e90ec3244b8e532e03c5209d5e8448f422e (patch) | |
| tree | 54334166b1872badfdb7b665c03ddb47823757ff /src/filesystem.cc | |
| parent | 3c8e87575da3795aa31ed9653da72abb8ed88996 (diff) | |
Remove unused change_extension().
It was added "for completeness" apparently but it would now cause
complications in keeping it compatible with various boost versions, so
just remove it as YAGNI.
Diffstat (limited to 'src/filesystem.cc')
| -rw-r--r-- | src/filesystem.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/filesystem.cc b/src/filesystem.cc index 428bb029..83c55ab0 100644 --- a/src/filesystem.cc +++ b/src/filesystem.cc @@ -293,14 +293,6 @@ dcp::filesystem::rename(boost::filesystem::path const& old_path, boost::filesyst } -/* We don't really need this but let's add it for completeness */ -boost::filesystem::path -dcp::filesystem::change_extension(boost::filesystem::path const& path, std::string const& new_extension) -{ - return boost::filesystem::change_extension(path, new_extension); -} - - #ifdef DCPOMATIC_WINDOWS dcp::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const& path) |
