StdMap compiles with 3.4
authorbeckerjc
Sat, 24 Apr 2004 13:24:42 +0000
changeset 391ddf25b2fa6ab
parent 390 8dc830d3f9ef
child 392 b8d635e1672d
StdMap compiles with 3.4
src/include/maps.h
     1.1 --- a/src/include/maps.h	Sat Apr 24 12:53:46 2004 +0000
     1.2 +++ b/src/include/maps.h	Sat Apr 24 13:24:42 2004 +0000
     1.3 @@ -100,9 +100,8 @@
     1.4        return insert(PairType(k,v)).first -> second;
     1.5      }
     1.6      ConstReferenceType operator[](const Key &k) const {
     1.7 -//marci jav      typename parent::iterator i = lower_bound(__k);
     1.8        typename parent::iterator i = lower_bound(k);
     1.9 -      if (i == end() || key_comp()(k, (*i).first))
    1.10 +      if (i == parent::end() || parent::key_comp()(k, (*i).first))
    1.11  	return v;
    1.12        return (*i).second;
    1.13      }