diff --git a/lemon/smart_graph.h b/lemon/smart_graph.h --- a/lemon/smart_graph.h +++ b/lemon/smart_graph.h @@ -55,7 +55,7 @@ public: - typedef SmartDigraphBase Graph; + typedef SmartDigraphBase Digraph; class Node; class Arc; @@ -195,8 +195,6 @@ /// ///\sa concepts::Digraph. class SmartDigraph : public ExtendedSmartDigraphBase { - public: - typedef ExtendedSmartDigraphBase Parent; private: @@ -420,7 +418,7 @@ public: - typedef SmartGraphBase Digraph; + typedef SmartGraphBase Graph; class Node; class Arc; @@ -631,6 +629,8 @@ /// /// \sa concepts::Graph. class SmartGraph : public ExtendedSmartGraphBase { + typedef ExtendedSmartGraphBase Parent; + private: ///SmartGraph is \e not copy constructible. Use GraphCopy() instead. @@ -648,8 +648,6 @@ public: - typedef ExtendedSmartGraphBase Parent; - /// Constructor /// Constructor.