lemon/graph_utils.h
changeset 2002 9ff31b5090bd
parent 1999 2ff283124dfc
child 2006 00d59f733817
     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