1.1 --- a/src/work/marci/graph_wrapper.h Mon Apr 05 17:10:25 2004 +0000
1.2 +++ b/src/work/marci/graph_wrapper.h Mon Apr 05 17:25:40 2004 +0000
1.3 @@ -714,7 +714,7 @@
1.4 return e;
1.5 }
1.6
1.7 - template<typename I> I& next(I &i) const { return graph->next(i); }
1.8 + template<typename I> I& next(I &i) const { graph->next(i); return i; }
1.9 // template<typename I> I getNext(const I& i) const { return gw.getNext(i); }
1.10
1.11 template< typename It > It first() const {
1.12 @@ -1004,7 +1004,7 @@
1.13 return e;
1.14 }
1.15
1.16 - NodeIt& next(NodeIt& n) const { return graph->next(n); }
1.17 + NodeIt& next(NodeIt& n) const { graph->next(n); return n; }
1.18
1.19 OutEdgeIt& next(OutEdgeIt& e) const {
1.20 if (e.out_or_in) {