Makefile: Remove redundant push_back

This commit is contained in:
Orkun Tokdemir committed 2024-01-09 13:05:01 +01:00
1 parent 3e533bd64f
commit 4d928592eb
1 file changed
+1 -2
+1 -2
View File
@@ -1926,8 +1926,7 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule(
this->LocalGenerator->MaybeRelativeToTopBinDir(buildTargetRuleName);
// Build the list of target outputs to drive.
std::vector<std::string> depends;
depends.push_back(main_output);
std::vector<std::string> depends{ main_output };
const char* comment = nullptr;
if (relink) {