lemon/smart_graph.h
changeset 664 4137ef9aacc6
parent 629 7a28e215f715
child 782 853fcddcf282
child 825 a143f19f465b
     1.1 --- a/lemon/smart_graph.h	Fri Apr 24 10:15:33 2009 +0200
     1.2 +++ b/lemon/smart_graph.h	Fri Apr 24 11:54:48 2009 +0200
     1.3 @@ -55,7 +55,7 @@
     1.4  
     1.5    public:
     1.6  
     1.7 -    typedef SmartDigraphBase Graph;
     1.8 +    typedef SmartDigraphBase Digraph;
     1.9  
    1.10      class Node;
    1.11      class Arc;
    1.12 @@ -195,8 +195,6 @@
    1.13    ///
    1.14    ///\sa concepts::Digraph.
    1.15    class SmartDigraph : public ExtendedSmartDigraphBase {
    1.16 -  public:
    1.17 -
    1.18      typedef ExtendedSmartDigraphBase Parent;
    1.19  
    1.20    private:
    1.21 @@ -420,7 +418,7 @@
    1.22  
    1.23    public:
    1.24  
    1.25 -    typedef SmartGraphBase Digraph;
    1.26 +    typedef SmartGraphBase Graph;
    1.27  
    1.28      class Node;
    1.29      class Arc;
    1.30 @@ -631,6 +629,8 @@
    1.31    ///
    1.32    /// \sa concepts::Graph.
    1.33    class SmartGraph : public ExtendedSmartGraphBase {
    1.34 +    typedef ExtendedSmartGraphBase Parent;
    1.35 +
    1.36    private:
    1.37  
    1.38      ///SmartGraph is \e not copy constructible. Use GraphCopy() instead.
    1.39 @@ -648,8 +648,6 @@
    1.40  
    1.41    public:
    1.42  
    1.43 -    typedef ExtendedSmartGraphBase Parent;
    1.44 -
    1.45      /// Constructor
    1.46  
    1.47      /// Constructor.