Omitting warning
authordeba
Wed, 08 Mar 2006 13:10:43 +0000
changeset 20029ff31b5090bd
parent 2001 c9e5de6e3eac
child 2003 cf012a7c7f69
Omitting warning
lemon/graph_utils.h
     1.1 --- a/lemon/graph_utils.h	Tue Mar 07 11:06:57 2006 +0000
     1.2 +++ b/lemon/graph_utils.h	Wed Mar 08 13:10:43 2006 +0000
     1.3 @@ -1515,6 +1515,7 @@
     1.4      public:
     1.5  
     1.6        typedef DefaultMap<_Graph, Key, int> Parent;
     1.7 +      typedef typename Parent::Graph Graph;
     1.8  
     1.9        AutoNodeMap(const Graph& graph) : Parent(graph, 0) {}
    1.10        
    1.11 @@ -1627,6 +1628,7 @@
    1.12      public:
    1.13  
    1.14        typedef DefaultMap<_Graph, Key, int> Parent;
    1.15 +      typedef typename Parent::Graph Graph;
    1.16  
    1.17        AutoNodeMap(const Graph& graph) : Parent(graph, 0) {}
    1.18