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:
Brad King
2019-01-25 12:58:11 +00:00
committed by Kitware Robot
9 changed files with 25 additions and 22 deletions
+2 -1
View File
@@ -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,