瀏覽代碼

BUG: Finished previous fix.

Brad King 18 年之前
父節點
當前提交
fac5d4845a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmGlobalXCodeGenerator.cxx

+ 1 - 1
Source/cmGlobalXCodeGenerator.cxx

@@ -2068,7 +2068,7 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
         cmCustomCommandLines commandLines;
         std::vector<std::string> depends;
         for(std::vector<std::string>::iterator h = headersVec.begin();
-            h != headersVec.end(); ++i)
+            h != headersVec.end(); ++h)
           {
           cmSourceFile* sf 
             = this->CurrentMakefile->GetOrCreateSource(h->c_str());