diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-05-19 14:30:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-05-19 14:33:26 (GMT) |
commit | 273257222ee6207dcb9ad290a08db5d6b7cc9db8 (patch) | |
tree | 0cc1b5bc33298f556f4438ba04dc689a9f4c09d1 /Source/cmFileCommand.cxx | |
parent | 7024fe33b8ea1d1fba3bf881f8c530688107c505 (diff) | |
download | CMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.zip CMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.tar.gz CMake-273257222ee6207dcb9ad290a08db5d6b7cc9db8.tar.bz2 |
Source: change parameters to std::string
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index f5ec9fe..aa8a919 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -558,8 +558,7 @@ bool cmFileCommand::HandleStringsCommand(std::vector<std::string> const& args) std::string binaryFileName = this->Makefile->GetCurrentBinaryDirectory(); binaryFileName += "/CMakeFiles"; binaryFileName += "/FileCommandStringsBinaryFile"; - if (cmHexFileConverter::TryConvert(fileName.c_str(), - binaryFileName.c_str())) { + if (cmHexFileConverter::TryConvert(fileName, binaryFileName)) { fileName = binaryFileName; } } |