diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-11 23:11:59 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-11 23:11:59 (GMT) |
commit | 080a79ca4a0448043e0713b9b580c5f84b7330b3 (patch) | |
tree | 26534caa5ee6e522456ccdebb8dc36744611e1f6 /Source/CPack/cmCPackGenerator.cxx | |
parent | 8a1d25afdf92cabab88598cc9b9e5a9fb2a9493b (diff) | |
download | CMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.zip CMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.tar.gz CMake-080a79ca4a0448043e0713b9b580c5f84b7330b3.tar.bz2 |
cmSystemTools: More methods accept `std::string` params
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index b4c05ab..71808ab 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -387,8 +387,7 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories( } /* If it is not a symlink then do a plain copy */ else if (!(cmSystemTools::CopyFileIfDifferent(inFile, filePath) && - cmSystemTools::CopyFileTime(inFile.c_str(), - filePath.c_str()))) { + cmSystemTools::CopyFileTime(inFile, filePath))) { cmCPackLogger(cmCPackLog::LOG_ERROR, "Problem copying file: " << inFile << " -> " << filePath << std::endl); |