diff -r d8c452d54d37 -r 538ff3ce9f68 src/include/maps.h --- a/src/include/maps.h Fri Apr 16 23:00:09 2004 +0000 +++ b/src/include/maps.h Sat Apr 17 01:50:23 2004 +0000 @@ -95,7 +95,7 @@ StdMap(const StdMap &m, const T &_v) { FIXME; } ReferenceType operator[](const Key &k) { - return ( *( (insert(PairType(k,v))).first ) ).second; + return insert(PairType(k,v)).first -> second; } ConstReferenceType operator[](const Key &k) const { typename parent::iterator i = lower_bound(__k); @@ -104,9 +104,7 @@ return (*i).second; } void set(const Key &k, const T &t) { - // tyuha, ez valamiert segfault-olt igy: - // parent::operator[](k) = t; - ( *( (insert(PairType(k,t))).first ) ).second=t; + parent::operator[](k) = t; } /// Changes the default value of the map.