diff -r 71f9c1f0d808 -r c67e235c832f lemon/suurballe.h --- a/lemon/suurballe.h Mon Oct 12 16:37:22 2009 +0100 +++ b/lemon/suurballe.h Thu Oct 15 21:03:17 2009 +0200 @@ -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]; }