From 4d928592eb1c0a47c2eea3c2df25cf957c2e538b Mon Sep 17 00:00:00 2001 From: Orkun Tokdemir Date: Tue, 9 Jan 2024 12:27:17 +0100 Subject: Makefile: Remove redundant push_back --- Source/cmMakefileTargetGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 756e5aa..6a02bdb 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1926,8 +1926,7 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule( this->LocalGenerator->MaybeRelativeToTopBinDir(buildTargetRuleName); // Build the list of target outputs to drive. - std::vector depends; - depends.push_back(main_output); + std::vector depends{ main_output }; const char* comment = nullptr; if (relink) { -- cgit v0.12