lemon/concepts/maps.h
changeset 1000 404b98971e1f
parent 975 b873350e6258
child 1083 3e711ee55d31
     1.1 --- a/lemon/concepts/maps.h	Wed Sep 12 17:34:01 2012 +0200
     1.2 +++ b/lemon/concepts/maps.h	Thu Sep 13 12:13:19 2012 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4  
     1.5        /// Returns the value associated with the given key.
     1.6        Value operator[](const Key &) const {
     1.7 -        return *static_cast<Value *>(0);
     1.8 +        return *(static_cast<Value *>(0)+1);
     1.9        }
    1.10  
    1.11        template<typename _ReadMap>