# HG changeset patch # User Peter Kovacs # Date 2009-10-15 21:03:17 # Node ID c67e235c832ff2ceb8cb0dd46df952afb98867c8 # Parent 71f9c1f0d80888cf5cad3aa809b84a4c77e7b5b3 Bug fix in Suurballe (#323) diff --git a/lemon/suurballe.h b/lemon/suurballe.h --- a/lemon/suurballe.h +++ b/lemon/suurballe.h @@ -520,7 +520,7 @@ /// /// \pre \ref run() or \ref findPaths() must be called before using /// this function. - Path path(int i) const { + const Path& path(int i) const { return paths[i]; }