summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2024-01-08 13:17:33 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-08 16:58:04 (GMT)
commit5162ff64d4f069a1fabf0178869ddaaff9045c88 (patch)
tree8d911faea68383817ee12d75a1d8bf418c2b87cd /Source/cmMakefileTargetGenerator.cxx
parent67ba114875ba66cbf6dd810ce89bde58ecaaae47 (diff)
downloadCMake-5162ff64d4f069a1fabf0178869ddaaff9045c88.zip
CMake-5162ff64d4f069a1fabf0178869ddaaff9045c88.tar.gz
CMake-5162ff64d4f069a1fabf0178869ddaaff9045c88.tar.bz2
Makefile: Reduce string copies
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 74b4b75..17489bd 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1726,7 +1726,7 @@ void cmMakefileTargetGenerator::GenerateCustomRuleFile(
this->LocalGenerator->MaybeRelativeToTopBinDir(
cmStrCat(this->TargetBuildDirectoryFull, "/compiler_depend.ts")));
- depends.push_back(dependTimestamp);
+ depends.emplace_back(std::move(dependTimestamp));
}
// Write the rule.