lemon/maps.h
changeset 1669 66ae78d29f1e
parent 1660 93792a112fd5
child 1675 fa89ffb27a6d
     1.1 --- a/lemon/maps.h	Tue Aug 30 21:19:07 2005 +0000
     1.2 +++ b/lemon/maps.h	Wed Aug 31 13:29:32 2005 +0000
     1.3 @@ -113,10 +113,10 @@
     1.4  
     1.5    ///This function just returns a \ref ConstMap class.
     1.6    ///\relates ConstMap
     1.7 -  template<class V,class K> 
     1.8 -  inline ConstMap<V,K> constMap(const K &k) 
     1.9 +  template<class K,class V> 
    1.10 +  inline ConstMap<K,V> constMap(const V &v) 
    1.11    {
    1.12 -    return ConstMap<V,K>(k);
    1.13 +    return ConstMap<K,V>(v);
    1.14    }
    1.15  
    1.16