# HG changeset patch # User deba # Date 1138738492 0 # Node ID 272fa8a0b680a3d159381595051d049461f45a1c # Parent a876a3d6a4c7b50a3b30c38b78a9ae58e2eaf2fa Bug fix ANodeIt/BNodeIt should not be inherited from ANode/BNode The reason: assert(graph.id(ANodeIt(graph)) == graph.id((Node)ANodeIt(graph))); diff -r a876a3d6a4c7 -r 272fa8a0b680 lemon/bits/iterable_graph_extender.h --- a/lemon/bits/iterable_graph_extender.h Tue Jan 31 20:04:36 2006 +0000 +++ b/lemon/bits/iterable_graph_extender.h Tue Jan 31 20:14:52 2006 +0000 @@ -303,7 +303,7 @@ }; - class ANodeIt : public ANode { + class ANodeIt : public Node { friend class IterableBpUGraphExtender; const Graph* graph; public: @@ -325,7 +325,7 @@ } }; - class BNodeIt : public BNode { + class BNodeIt : public Node { friend class IterableBpUGraphExtender; const Graph* graph; public: