mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
Makefile: Reduce string copies
This commit is contained in:
committed by
Brad King
parent
67ba114875
commit
5162ff64d4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user