From d4889361f0a52632ba2b22710348f1dc2f9fb807 Mon Sep 17 00:00:00 2001 From: Orkun Tokdemir Date: Fri, 7 Jul 2023 00:18:10 +0200 Subject: cmQtAutoGenInitializer: Reduce string copies --- Source/cmQtAutoGenInitializer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index bf48dbb..4db6e1d 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -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(); } -- cgit v0.12