mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02: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