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
This commit is contained in:
parent
c3c1c023d6
commit
1088fd35c8
@ -304,7 +304,7 @@ public:
|
||||
{return translations->w_gettext(m_name.c_str()); }
|
||||
// ------------------------------------------------------------------------
|
||||
/** Returns all groups this track belongs to. */
|
||||
const std::vector<std::string>
|
||||
const std::vector<std::string>&
|
||||
getGroups () const {return m_groups; }
|
||||
// ------------------------------------------------------------------------
|
||||
/** Returns the filename of this track. */
|
||||
|
Loading…
Reference in New Issue
Block a user