# HG changeset patch # User deba # Date 1168551314 0 # Node ID 4dd3eb3486416a77ba42efdd8d36284b66d29484 # Parent 46a6311ceffa391c5d5310edbe14551c89474ecf Bug fix diff -r 46a6311ceffa -r 4dd3eb348641 lemon/list_graph.h --- a/lemon/list_graph.h Thu Jan 11 21:27:51 2007 +0000 +++ b/lemon/list_graph.h Thu Jan 11 21:35:14 2007 +0000 @@ -765,6 +765,7 @@ class UEdge { friend class ListUGraphBase; + friend class ListUGraphBase::Edge; protected: int id; diff -r 46a6311ceffa -r 4dd3eb348641 lemon/smart_graph.h --- a/lemon/smart_graph.h Thu Jan 11 21:27:51 2007 +0000 +++ b/lemon/smart_graph.h Thu Jan 11 21:35:14 2007 +0000 @@ -387,6 +387,10 @@ public: typedef SmartUGraphBase Graph; + + class Node; + class Edge; + class UEdge; class Node { friend class SmartUGraphBase; @@ -405,6 +409,7 @@ class UEdge { friend class SmartUGraphBase; + friend class SmartUGraphBase::Edge; protected: int id;