From d999d0240d249de3bebbe278b73f64ff09c5e731 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 21 Feb 2007 14:07:33 -0500 Subject: [PATCH] ENH: get rid of some extra erase calls --- Source/cmGlobalGenerator.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index e554de739..f6b860b4b 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1366,9 +1366,6 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) cmCustomCommandLines cpackCommandLines; std::vector depends; cmCustomCommandLine singleLine; - cpackCommandLines.erase(cpackCommandLines.begin(), cpackCommandLines.end()); - singleLine.erase(singleLine.begin(), singleLine.end()); - depends.erase(depends.begin(), depends.end()); singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand()); if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' ) {