[Lemon-commits] [lemon_svn] klao: r2686 - hugo/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:54:28 CET 2006
Author: klao
Date: Thu Apr 13 19:22:17 2006
New Revision: 2686
Modified:
hugo/trunk/lemon/path.h
Log:
path.h: bugfix, returning reference to a temporary
Modified: hugo/trunk/lemon/path.h
==============================================================================
--- hugo/trunk/lemon/path.h (original)
+++ hugo/trunk/lemon/path.h Thu Apr 13 19:22:17 2006
@@ -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)
More information about the Lemon-commits
mailing list