diff -r 83b086406f10 -r 012cd0ca3254 lemon/path.h --- a/lemon/path.h Wed Apr 12 20:50:35 2006 +0000 +++ b/lemon/path.h Thu Apr 13 17:22:17 2006 +0000 @@ -228,7 +228,7 @@ bool valid() const { return idx!=-1; } ///Conversion to Graph::Node - operator const GraphNode& () const { + operator GraphNode () const { if(idx >= p->length()) return p->target(); else if(idx >= 0)