lemon/concepts/maps.h
branch1.2
changeset 966 08712a8c3afe
parent 953 b873350e6258
child 982 3e711ee55d31
     1.1 --- a/lemon/concepts/maps.h	Wed Sep 12 17:29:50 2012 +0200
     1.2 +++ b/lemon/concepts/maps.h	Thu Sep 13 12:05:34 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>