summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filesystem.cc8
-rw-r--r--src/filesystem.h1
2 files changed, 0 insertions, 9 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)
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);