diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-23 01:37:59 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-23 01:37:59 (GMT) |
commit | 9e5c13738bdc45b00b529b492bad92800890fb9c (patch) | |
tree | ee07703b2cf6a7178c7f76f934f828afe2b3764e /Source/cmSystemTools.h | |
parent | fa5bf870df1ce5d9cbcf61be736beb0b1e87b85b (diff) | |
download | CMake-9e5c13738bdc45b00b529b492bad92800890fb9c.zip CMake-9e5c13738bdc45b00b529b492bad92800890fb9c.tar.gz CMake-9e5c13738bdc45b00b529b492bad92800890fb9c.tar.bz2 |
cmSystemTools::RenameFile: Accepts std::string args
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 7a209c6..4ae83d6 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -179,7 +179,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, |