Makefile: Reduce string copies

This commit is contained in:
Orkun Tokdemir authored and Brad King committed 2024-01-08 11:58:04 -05:00
1 parent 67ba114875
commit 5162ff64d4
1 file changed
+1 -1
+1 -1
View File
@@ -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.