[Lemon-commits] [lemon_svn] beckerjc: r522 - hugo/trunk/src/include
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:39:57 CET 2006
Author: beckerjc
Date: Sat Apr 24 15:24:42 2004
New Revision: 522
Modified:
hugo/trunk/src/include/maps.h
Log:
StdMap compiles with 3.4
Modified: hugo/trunk/src/include/maps.h
==============================================================================
--- hugo/trunk/src/include/maps.h (original)
+++ hugo/trunk/src/include/maps.h Sat Apr 24 15:24:42 2004
@@ -100,9 +100,8 @@
return insert(PairType(k,v)).first -> second;
}
ConstReferenceType operator[](const Key &k) const {
-//marci jav typename parent::iterator i = lower_bound(__k);
typename parent::iterator i = lower_bound(k);
- if (i == end() || key_comp()(k, (*i).first))
+ if (i == parent::end() || parent::key_comp()(k, (*i).first))
return v;
return (*i).second;
}
More information about the Lemon-commits
mailing list