Bug fix
authordeba
Thu, 11 Jan 2007 21:35:14 +0000
changeset 23424dd3eb348641
parent 2341 46a6311ceffa
child 2343 21587bc5922b
Bug fix
lemon/list_graph.h
lemon/smart_graph.h
     1.1 --- a/lemon/list_graph.h	Thu Jan 11 21:27:51 2007 +0000
     1.2 +++ b/lemon/list_graph.h	Thu Jan 11 21:35:14 2007 +0000
     1.3 @@ -765,6 +765,7 @@
     1.4  
     1.5      class UEdge {
     1.6        friend class ListUGraphBase;
     1.7 +      friend class ListUGraphBase::Edge;
     1.8      protected:
     1.9  
    1.10        int id;
     2.1 --- a/lemon/smart_graph.h	Thu Jan 11 21:27:51 2007 +0000
     2.2 +++ b/lemon/smart_graph.h	Thu Jan 11 21:35:14 2007 +0000
     2.3 @@ -387,6 +387,10 @@
     2.4    public:
     2.5      
     2.6      typedef SmartUGraphBase Graph;
     2.7 +
     2.8 +    class Node;
     2.9 +    class Edge;
    2.10 +    class UEdge;
    2.11      
    2.12      class Node {
    2.13        friend class SmartUGraphBase;
    2.14 @@ -405,6 +409,7 @@
    2.15  
    2.16      class UEdge {
    2.17        friend class SmartUGraphBase;
    2.18 +      friend class SmartUGraphBase::Edge;
    2.19      protected:
    2.20  
    2.21        int id;