From 1088fd35c888e4c8936a1fdabbc02b791248c374 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Fri, 4 Nov 2011 05:30:27 +0000 Subject: [PATCH] Use a reference as return value. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10102 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/tracks/track.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/track.hpp b/src/tracks/track.hpp index b8ec86165..d340b2767 100644 --- a/src/tracks/track.hpp +++ b/src/tracks/track.hpp @@ -304,7 +304,7 @@ public: {return translations->w_gettext(m_name.c_str()); } // ------------------------------------------------------------------------ /** Returns all groups this track belongs to. */ - const std::vector + const std::vector& getGroups () const {return m_groups; } // ------------------------------------------------------------------------ /** Returns the filename of this track. */