Andy Cedilnik пре 20 година
родитељ
комит
26d4dd174f
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      Source/cmLocalGenerator.cxx

+ 4 - 4
Source/cmLocalGenerator.cxx

@@ -130,14 +130,14 @@ void cmLocalGenerator::GenerateTestFiles()
     fout << "ADD_TEST(";
     fout << test->GetName() << " \"" << test->GetCommand() << "\"";
 
-    std::vector<cmStdString>::iterator it;
-    for (it = test->GetArguments().begin();
-      it != test->GetArguments().end(); ++it)
+    std::vector<cmStdString>::iterator argit;
+    for (argit = test->GetArguments().begin();
+      argit != test->GetArguments().end(); ++argit)
       {
       // Just double-quote all arguments so they are re-parsed
       // correctly by the test system.
       fout << " \"";
-      for(std::string::iterator c = it->begin(); c != it->end(); ++c)
+      for(std::string::iterator c = argit->begin(); c != argit->end(); ++c)
         {
         // Escape quotes within arguments.  We should escape
         // backslashes too but we cannot because it makes the result