diff -r f2d6d3446adf -r 4137ef9aacc6 lemon/list_graph.h --- a/lemon/list_graph.h Fri Apr 24 10:15:33 2009 +0200 +++ b/lemon/list_graph.h Fri Apr 24 11:54:48 2009 +0200 @@ -323,6 +323,8 @@ ///\sa concepts::Digraph class ListDigraph : public ExtendedListDigraphBase { + typedef ExtendedListDigraphBase Parent; + private: ///ListDigraph is \e not copy constructible. Use copyDigraph() instead. @@ -337,8 +339,6 @@ void operator=(const ListDigraph &) {} public: - typedef ExtendedListDigraphBase Parent; - /// Constructor /// Constructor. @@ -793,7 +793,7 @@ public: - typedef ListGraphBase Digraph; + typedef ListGraphBase Graph; class Node; class Arc; @@ -1176,6 +1176,8 @@ ///\sa concepts::Graph class ListGraph : public ExtendedListGraphBase { + typedef ExtendedListGraphBase Parent; + private: ///ListGraph is \e not copy constructible. Use copyGraph() instead. @@ -1195,8 +1197,6 @@ /// ListGraph() {} - typedef ExtendedListGraphBase Parent; - typedef Parent::OutArcIt IncEdgeIt; /// \brief Add a new node to the graph.