Makefile: Remove redundant push_back

This commit is contained in:
Orkun Tokdemir
2024-01-09 12:27:17 +01:00
parent 3e533bd64f
commit 4d928592eb

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) {