[cmake-commits] hoffman committed cmGlobalGenerator.cxx 1.166 1.167

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 21 14:07:35 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv11585

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
ENH: get rid of some extra erase calls


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- cmGlobalGenerator.cxx	30 Jan 2007 16:35:17 -0000	1.166
+++ cmGlobalGenerator.cxx	21 Feb 2007 19:07:33 -0000	1.167
@@ -1366,9 +1366,6 @@
   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] != '.' )
     {



More information about the Cmake-commits mailing list