summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorJim Miller <millerjv@crd.ge.com>2002-05-10 18:06:34 (GMT)
committerJim Miller <millerjv@crd.ge.com>2002-05-10 18:06:34 (GMT)
commitde44f1faac2eeb24162ceff0b075f8b0e87937f8 (patch)
tree3162f083d506e190b91506d93e318b21072e8126 /Source/cmTarget.cxx
parent0e6b39e52f561228e3e17bafe4bc7a44da88bf00 (diff)
downloadCMake-de44f1faac2eeb24162ceff0b075f8b0e87937f8.zip
CMake-de44f1faac2eeb24162ceff0b075f8b0e87937f8.tar.gz
CMake-de44f1faac2eeb24162ceff0b075f8b0e87937f8.tar.bz2
FIX: Const reference to a set needs a const_iterator. (.NET build error)
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 13a5358..9d7989b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -247,7 +247,7 @@ cmTarget::AnalyzeLibDependencies( const cmMakefile& mf )
if( dep_map.find(lib->first) != dep_map.end() ) // does it have dependencies?
{
const std::set<cmStdString>& dep_on = dep_map.find( lib->first )->second;
- std::set<cmStdString>::iterator i;
+ std::set<cmStdString>::const_iterator i;
for( i = dep_on.begin(); i != dep_on.end(); ++i )
{
if( satisfied[lib->first].end() == satisfied[lib->first].find( *i ) )