diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-02 18:34:03 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-01-02 18:34:03 (GMT) |
commit | 1c289b52f4b6b870ebde3bbdff17a5aaf74fe8e9 (patch) | |
tree | 6a9b765db9305d75e2c986640bf09c05d82f2b20 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747 (diff) | |
download | CMake-1c289b52f4b6b870ebde3bbdff17a5aaf74fe8e9.zip CMake-1c289b52f4b6b870ebde3bbdff17a5aaf74fe8e9.tar.gz CMake-1c289b52f4b6b870ebde3bbdff17a5aaf74fe8e9.tar.bz2 |
BUG: fix build problem on gcc
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 1f1c723..4117791 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -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 = "... "; |