# HG changeset patch # User deba # Date 1141823443 0 # Node ID 9ff31b5090bd71c4678ea00c722b1432e86a0b4e # Parent c9e5de6e3eac17ee2f6b3a6b396dcda1c03e0686 Omitting warning diff -r c9e5de6e3eac -r 9ff31b5090bd lemon/graph_utils.h --- a/lemon/graph_utils.h Tue Mar 07 11:06:57 2006 +0000 +++ b/lemon/graph_utils.h Wed Mar 08 13:10:43 2006 +0000 @@ -1515,6 +1515,7 @@ public: typedef DefaultMap<_Graph, Key, int> Parent; + typedef typename Parent::Graph Graph; AutoNodeMap(const Graph& graph) : Parent(graph, 0) {} @@ -1627,6 +1628,7 @@ public: typedef DefaultMap<_Graph, Key, int> Parent; + typedef typename Parent::Graph Graph; AutoNodeMap(const Graph& graph) : Parent(graph, 0) {}