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;