lemon/concepts/maps.h
branch1.1
changeset 1158 8d2e55fac752
parent 1126 a30455cd0107
parent 1157 761fe0846f49
child 1258 bdfc038f364c
     1.1 --- a/lemon/concepts/maps.h	Wed Sep 12 17:51:20 2012 +0200
     1.2 +++ b/lemon/concepts/maps.h	Thu Sep 13 11:52:50 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>