diff options
author | Orkun Tokdemir <ilhanorkuntokdemir@gmail.com> | 2023-05-31 15:46:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-31 17:04:49 (GMT) |
commit | 1f4b374d6e936960d902307bc9dcd4e8d93168e2 (patch) | |
tree | 5dfc94674b762686a1d85a750628b5dcdcf97096 /Source | |
parent | b6f66b445a32b6a931b33b1dd399f64fb21ef429 (diff) | |
download | CMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.zip CMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.tar.gz CMake-1f4b374d6e936960d902307bc9dcd4e8d93168e2.tar.bz2 |
cmQtAutoGenInitializer: Reduce string copies
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 2 |
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>(); |