# HG changeset patch # User Alpar Juttner # Date 1242053317 -3600 # Node ID 88753a77c6348103b92da11df6b10084411c23d9 # Parent ebdcc68fe79e20329a66cd3b6543f128eba5affb# Parent bf7928412136b879be4657e7b921ad67f4aaae99 Merge diff -r ebdcc68fe79e -r 88753a77c634 lemon/concepts/graph.h --- a/lemon/concepts/graph.h Mon May 11 16:42:42 2009 +0200 +++ b/lemon/concepts/graph.h Mon May 11 15:48:37 2009 +0100 @@ -310,8 +310,8 @@ /// The directed arc type. It can be converted to the /// edge or it should be inherited from the undirected - /// arc. - class Arc : public Edge { + /// edge. + class Arc { public: /// Default constructor @@ -322,7 +322,7 @@ /// Copy constructor. /// - Arc(const Arc& e) : Edge(e) { } + Arc(const Arc&) { } /// Initialize the iterator to be invalid. /// Initialize the iterator to be invalid. @@ -349,6 +349,8 @@ /// ordering of the items. bool operator<(Arc) const { return false; } + /// Converison to Edge + operator Edge() const { return Edge(); } }; /// This iterator goes through each directed arc.