cmQtAutoGenInitializer: Reduce string copies

This commit is contained in:
Orkun Tokdemir
2023-05-31 17:46:48 +02:00
committed by Brad King
parent b6f66b445a
commit 1f4b374d6e

View File

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