mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
Merge topic 'renamefile-string'
9e5c13738b cmSystemTools::RenameFile: Accepts std::string args
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2842
This commit is contained in:
@@ -180,7 +180,8 @@ public:
|
||||
|
||||
/** Rename a file or directory within a single disk volume (atomic
|
||||
if possible). */
|
||||
static bool RenameFile(const char* oldname, const char* newname);
|
||||
static bool RenameFile(const std::string& oldname,
|
||||
const std::string& newname);
|
||||
|
||||
///! Compute the hash of a file
|
||||
static std::string ComputeFileHash(const std::string& source,
|
||||
|
||||
Reference in New Issue
Block a user