mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
avoid adding multiple consecutive string literals to std::string
While at it change some single character additions to be of type char.
This commit is contained in:
@@ -469,8 +469,7 @@ bool HandleStringsCommand(std::vector<std::string> const& args,
|
||||
// TODO: should work without temp file, but just on a memory buffer
|
||||
std::string binaryFileName =
|
||||
status.GetMakefile().GetCurrentBinaryDirectory();
|
||||
binaryFileName += "/CMakeFiles";
|
||||
binaryFileName += "/FileCommandStringsBinaryFile";
|
||||
binaryFileName += "/CMakeFiles/FileCommandStringsBinaryFile";
|
||||
if (cmHexFileConverter::TryConvert(fileName, binaryFileName)) {
|
||||
fileName = binaryFileName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user