summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-07-12 18:41:55 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-07-12 18:41:55 (GMT)
commitc69d12d02fe02a5f994650bef274beea58978c2b (patch)
treee0acbfbe22e30c96f08c7182343a6d5ff9a945a4
parent8ace577a2a6471326639a5cadd855257c0290350 (diff)
downloadCMake-c69d12d02fe02a5f994650bef274beea58978c2b.zip
CMake-c69d12d02fe02a5f994650bef274beea58978c2b.tar.gz
CMake-c69d12d02fe02a5f994650bef274beea58978c2b.tar.bz2
COMP: fix old compiler issue
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index e88c457..1a98931 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -985,7 +985,11 @@ GetNumberOfProgressActionsInAll(cmLocalUnixMakefileGenerator3 *lg)
result += progFiles2.size();
std::vector<cmTarget *> deps2 =
this->GetTargetDepends(*activeTgts.front());
- activeTgts.insert(activeTgts.end(),deps2.begin(),deps2.end());
+ for (std::vector<cmTarget *>::const_iterator di =
+ deps2.begin(); di != deps2.end(); ++di)
+ {
+ activeTgts.push_back(*di);
+ }
}
activeTgts.pop_front();
}