mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
cmQtAutoGenInitializer: Reduce string copies
This commit is contained in:
@@ -1451,7 +1451,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
|
||||
// Alter variables for the autogen target which now merely wraps the
|
||||
// custom command
|
||||
dependencies.clear();
|
||||
dependencies.push_back(outputFile);
|
||||
dependencies.emplace_back(std::move(outputFile));
|
||||
commandLines.clear();
|
||||
autogenComment.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user