fastbuild: remove useless std::string building

This commit is contained in:
AJIOB
2026-07-29 18:11:56 +03:00
parent b5efecc945
commit 566d284457
+1 -1
View File
@@ -634,7 +634,7 @@ FastbuildExecNodes cmFastbuildTargetGenerator::GenerateCommands(
if (!cmdLines.empty()) {
std::string const scriptFileName = GetScriptFilename(execName);
cmsys::ofstream scriptFile(scriptFileName.c_str());
cmsys::ofstream scriptFile(scriptFileName);
AddOutput(ccg, execNode);
AddExecArguments(execNode, scriptFileName);