mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmQtAutoGenInitializer: Reduce string copies
This commit is contained in:
committed by
Brad King
parent
b6f66b445a
commit
1f4b374d6e
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user