diff options
author | Brad King <brad.king@kitware.com> | 2019-05-21 13:46:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-21 13:46:45 (GMT) |
commit | 0bf53483295a4b7de358e8b85ad44866d89633c5 (patch) | |
tree | 3a09081130bb415685b65aec2c15c1813b232cc6 /Source/cmFileCommand.cxx | |
parent | 8538685c85f75d1904800999a50e12d3abb7484e (diff) | |
parent | 273257222ee6207dcb9ad290a08db5d6b7cc9db8 (diff) | |
download | CMake-0bf53483295a4b7de358e8b85ad44866d89633c5.zip CMake-0bf53483295a4b7de358e8b85ad44866d89633c5.tar.gz CMake-0bf53483295a4b7de358e8b85ad44866d89633c5.tar.bz2 |
Merge topic 'string-param'
273257222e Source: change parameters to std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3340
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; } } |