diff options
-rw-r--r-- | Source/cmSystemTools.cxx | 7 | ||||
-rw-r--r-- | Source/cmSystemTools.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 78d230e..75b7668 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1111,13 +1111,6 @@ bool cmMoveFile(std::wstring const& oldname, std::wstring const& newname, } #endif -bool cmSystemTools::CopySingleFile(const std::string& oldname, - const std::string& newname) -{ - return cmSystemTools::CopySingleFile(oldname, newname, CopyWhen::Always) == - CopyResult::Success; -} - cmSystemTools::CopyResult cmSystemTools::CopySingleFile( std::string const& oldname, std::string const& newname, CopyWhen when, std::string* err) diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 87b354c..f2b3dd2 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -177,8 +177,6 @@ public: const mode_t* mode = nullptr); /** Copy a file. */ - static bool CopySingleFile(const std::string& oldname, - const std::string& newname); static CopyResult CopySingleFile(std::string const& oldname, std::string const& newname, CopyWhen when, std::string* err = nullptr); |