BUG: fix build problem on gcc

This commit is contained in:
Bill Hoffman 2006-01-02 13:34:03 -05:00
parent 61e056e2dc
commit 1c289b52f4
1 changed files with 3 additions and 2 deletions

View File

@ -894,8 +894,9 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
}
}
}
std::map<cmStdString,std::vector<cmTarget *> >& objs = lg->GetLocalObjectFiles();
for(std::map<cmStdString,std::vector<cmTarget *> >::iterator o =
std::map<cmStdString,std::vector<cmTarget *> > const& objs =
lg->GetLocalObjectFiles();
for(std::map<cmStdString,std::vector<cmTarget *> >::const_iterator o =
objs.begin(); o != objs.end(); ++o)
{
path = "... ";