src/lemon/concept/maps.h
changeset 1375 ebdce4f68ac4
parent 1367 a490662291b9
     1.1 --- a/src/lemon/concept/maps.h	Tue Apr 19 13:33:44 2005 +0000
     1.2 +++ b/src/lemon/concept/maps.h	Tue Apr 19 14:15:01 2005 +0000
     1.3 @@ -147,9 +147,9 @@
     1.4      public:
     1.5  
     1.6        ///Returns a reference to the value associated to a key.
     1.7 -      Reference operator[](const Key &i) { return tmp; }
     1.8 +      Reference operator[](const Key &) { return tmp; }
     1.9        ///Returns a const reference to the value associated to a key.
    1.10 -      ConstReference operator[](const Key &i) const
    1.11 +      ConstReference operator[](const Key &) const
    1.12        { return tmp; }
    1.13        /// Sets the value associated with a key.
    1.14        void set(const Key &k,const Value &t) { operator[](k)=t; }