1.1 --- a/lemon/smart_graph.h Thu Jan 11 21:35:14 2007 +0000
1.2 +++ b/lemon/smart_graph.h Thu Jan 11 21:58:30 2007 +0000
1.3 @@ -409,7 +409,6 @@
1.4
1.5 class UEdge {
1.6 friend class SmartUGraphBase;
1.7 - friend class SmartUGraphBase::Edge;
1.8 protected:
1.9
1.10 int id;
1.11 @@ -431,7 +430,7 @@
1.12 explicit Edge(int pid) { id = pid;}
1.13
1.14 public:
1.15 - operator UEdge() const { return UEdge(id / 2); }
1.16 + operator UEdge() const { return uEdgeFromId(id / 2); }
1.17
1.18 Edge() {}
1.19 Edge (Invalid) { id = -1; }