mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Refactor: Eliminate redundant std::to_string as arg of cmStrCat
Plus optimize some other string operations in the modified files.
This commit is contained in:
@@ -3776,7 +3776,7 @@ std::string const& cmGlobalGenerator::GetRealPath(std::string const& dir)
|
||||
|
||||
std::string cmGlobalGenerator::NewDeferId()
|
||||
{
|
||||
return cmStrCat("__"_s, std::to_string(this->NextDeferId++));
|
||||
return cmStrCat("__", this->NextDeferId++);
|
||||
}
|
||||
|
||||
void cmGlobalGenerator::ProcessEvaluationFiles()
|
||||
|
||||
Reference in New Issue
Block a user