mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 20:53:45 +01:00
Pass arguments by reference
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user