diff -r 10d035c2e81c -r 6720705c9095 src/work/marci/graph_wrapper.h --- a/src/work/marci/graph_wrapper.h Mon Apr 05 17:10:25 2004 +0000 +++ b/src/work/marci/graph_wrapper.h Mon Apr 05 17:25:40 2004 +0000 @@ -714,7 +714,7 @@ return e; } - template I& next(I &i) const { return graph->next(i); } + template I& next(I &i) const { graph->next(i); return i; } // template I getNext(const I& i) const { return gw.getNext(i); } template< typename It > It first() const { @@ -1004,7 +1004,7 @@ return e; } - NodeIt& next(NodeIt& n) const { return graph->next(n); } + NodeIt& next(NodeIt& n) const { graph->next(n); return n; } OutEdgeIt& next(OutEdgeIt& e) const { if (e.out_or_in) {