mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
cmSystemTools: Remove unused CopySingleFile overload
This commit is contained in:
1 parent
c5a945dce8
commit
fa518188d8
2 files changed
-9
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user