cmQtAutoGenInitializer: Reduce string copies

This commit is contained in:
Orkun Tokdemir 2023-07-07 00:18:10 +02:00
parent 0bf49d5579
commit d4889361f0

View File

@ -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();
}