summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2023-05-31 15:46:48 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-31 17:04:49 (GMT)
commit1f4b374d6e936960d902307bc9dcd4e8d93168e2 (patch)
tree5dfc94674b762686a1d85a750628b5dcdcf97096 /Source
parentb6f66b445a32b6a931b33b1dd399f64fb21ef429 (diff)
downloadCMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.zip
CMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.tar.gz
CMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.tar.bz2
cmQtAutoGenInitializer: Reduce string copies
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index a5c043d..c9f65f6 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/Source/cmQtAutoGenInitializer.cxx
@@ -1394,7 +1394,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
depname = cmStrCat("$<TARGET_LINKER_FILE:", t->GetName(), ">");
}
}
- dependencies.push_back(depname);
+ dependencies.emplace_back(std::move(depname));
}
auto cc = cm::make_unique<cmCustomCommand>();