summaryrefslogtreecommitdiff
path: root/src/filesystem.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-21 23:06:34 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-21 23:06:34 +0200
commit6d1a7e90ec3244b8e532e03c5209d5e8448f422e (patch)
tree54334166b1872badfdb7b665c03ddb47823757ff /src/filesystem.h
parent3c8e87575da3795aa31ed9653da72abb8ed88996 (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.h')
-rw-r--r--src/filesystem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/filesystem.h b/src/filesystem.h
index 53ec209d..30da1c3b 100644
--- a/src/filesystem.h
+++ b/src/filesystem.h
@@ -47,7 +47,6 @@ namespace filesystem
boost::filesystem::path absolute(boost::filesystem::path const& path);
boost::filesystem::path canonical(boost::filesystem::path const& path);
boost::filesystem::path weakly_canonical(boost::filesystem::path const& path);
-boost::filesystem::path change_extension(boost::filesystem::path const& from, std::string const& new_extension);
void copy(boost::filesystem::path const& from, boost::filesystem::path const& to);
void copy_file(boost::filesystem::path const& from, boost::filesystem::path const& to);
void copy_file(boost::filesystem::path const& from, boost::filesystem::path const& to, boost::system::error_code& ec);