lemon/graph_utils.h
changeset 2540 8ab1d3d7dea7
parent 2539 c25f62a6452d
child 2553 bfced05fa852
     1.1 --- a/lemon/graph_utils.h	Tue Dec 11 17:37:08 2007 +0000
     1.2 +++ b/lemon/graph_utils.h	Tue Dec 11 17:42:49 2007 +0000
     1.3 @@ -2525,12 +2525,12 @@
     1.4  
     1.5    protected:
     1.6  
     1.7 -    class AutoNodeMap : public DefaultMap<Graph, Node, Edge> {
     1.8 +    class AutoNodeMap : public DefaultMap<G, Node, Edge> {
     1.9      public:
    1.10  
    1.11 -      typedef DefaultMap<Graph, Node, Edge> Parent;
    1.12 -
    1.13 -      AutoNodeMap(const Graph& graph) : Parent(graph, INVALID) {}
    1.14 +      typedef DefaultMap<G, Node, Edge> Parent;
    1.15 +
    1.16 +      AutoNodeMap(const G& graph) : Parent(graph, INVALID) {}
    1.17        
    1.18        virtual void add(const Node& node) {
    1.19  	Parent::add(node);