summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-02 18:34:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-02 18:34:03 (GMT)
commit1c289b52f4b6b870ebde3bbdff17a5aaf74fe8e9 (patch)
tree6a9b765db9305d75e2c986640bf09c05d82f2b20 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent61e056e2dc20af29d8a58e5fa9e7ea6c2b67c747 (diff)
downloadCMake-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.cxx5
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 = "... ";