# HG changeset patch # User beckerjc # Date 1082813082 0 # Node ID ddf25b2fa6aba9f024731cc81dd3af093965cec0 # Parent 8dc830d3f9efb7162cee45fed3d5305d84ce45a6 StdMap compiles with 3.4 diff -r 8dc830d3f9ef -r ddf25b2fa6ab src/include/maps.h --- a/src/include/maps.h Sat Apr 24 12:53:46 2004 +0000 +++ b/src/include/maps.h Sat Apr 24 13:24:42 2004 +0000 @@ -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; }