summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-02-21 19:07:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-02-21 19:07:33 (GMT)
commitd999d0240d249de3bebbe278b73f64ff09c5e731 (patch)
tree49bd7ac4d6339c062e86d7e3e4e3237c40f86240
parent828eebcd31e40c0afd564a4af25801861835370d (diff)
downloadCMake-d999d0240d249de3bebbe278b73f64ff09c5e731.zip
CMake-d999d0240d249de3bebbe278b73f64ff09c5e731.tar.gz
CMake-d999d0240d249de3bebbe278b73f64ff09c5e731.tar.bz2
ENH: get rid of some extra erase calls
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index e554de7..f6b860b 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1366,9 +1366,6 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
cmCustomCommandLines cpackCommandLines;
std::vector<std::string> 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] != '.' )
{