COMP: fix old compiler issue

This commit is contained in:
Ken Martin 2006-07-12 14:41:55 -04:00
parent 8ace577a2a
commit c69d12d02f
1 changed files with 5 additions and 1 deletions

View File

@ -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();
}