mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
fastbuild: remove useless std::string building
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user