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:
Alex Turbov
2025-01-26 03:03:36 +04:00
parent 8eff0d3351
commit d34971f455
18 changed files with 103 additions and 137 deletions
+1 -1
View File
@@ -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()