Bug fix in maps.h.
authorPeter Kovacs <kpeter@inf.elte.hu>
Fri, 04 Jan 2008 23:20:08 +0100
changeset 34b88dd07e6349
parent 33 d794ec195ec0
child 36 d6bc33fa6590
Bug fix in maps.h.
lemon/maps.h
     1.1 --- a/lemon/maps.h	Fri Jan 04 23:13:45 2008 +0100
     1.2 +++ b/lemon/maps.h	Fri Jan 04 23:20:08 2008 +0100
     1.3 @@ -1308,7 +1308,7 @@
     1.4              _maps_bits::Identity<typename Container::value_type> >
     1.5    class BackInserterBoolMap {
     1.6    public:
     1.7 -    typedef typename Container::value_type Key;
     1.8 +    typedef typename Functor::argument_type Key;
     1.9      typedef bool Value;
    1.10  
    1.11      /// Constructor
    1.12 @@ -1343,7 +1343,7 @@
    1.13              _maps_bits::Identity<typename Container::value_type> >
    1.14    class FrontInserterBoolMap {
    1.15    public:
    1.16 -    typedef typename Container::value_type Key;
    1.17 +    typedef typename Functor::argument_type Key;
    1.18      typedef bool Value;
    1.19  
    1.20      /// Constructor