1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Settings: Fix unittest memory leak, change input types

This commit is contained in:
SmallJoker 2020-09-22 18:40:34 +02:00
parent 55e2dd911b
commit add68369a5
3 changed files with 15 additions and 15 deletions

View file

@ -192,8 +192,8 @@ public:
bool set_group, bool set_default);
bool set(const std::string &name, const std::string &value);
bool setDefault(const std::string &name, const std::string &value);
bool setGroup(const std::string &name, Settings *group);
bool setGroupDefault(const std::string &name, Settings *group);
bool setGroup(const std::string &name, const Settings &group);
bool setGroupDefault(const std::string &name, const Settings &group);
bool setBool(const std::string &name, bool value);
bool setS16(const std::string &name, s16 value);
bool setU16(const std::string &name, u16 value);