1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Pass arguments by reference

This commit is contained in:
Selat 2014-02-27 23:12:59 +03:00 committed by ShadowNinja
parent 2bc2ce3bd1
commit 7cac34c807
14 changed files with 49 additions and 49 deletions

View file

@ -149,8 +149,8 @@ class GUIFormSpecMenu : public GUIModalMenu
FieldSpec()
{
}
FieldSpec(const std::wstring name, const std::wstring label,
const std::wstring fdeflt, int id) :
FieldSpec(const std::wstring &name, const std::wstring &label,
const std::wstring &fdeflt, int id) :
fname(name),
flabel(label),
fdefault(fdeflt),