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

C++11 cleanup on constructors (#6000)

* C++11 cleanup on constructors dir script
This commit is contained in:
Vincent Glize 2017-06-19 23:54:58 +02:00 committed by Loïc Blot
parent 4a78949083
commit 4a5e8ad343
40 changed files with 117 additions and 180 deletions

View file

@ -57,10 +57,10 @@ private:
// to_table(self) -> {[key1]=value1,...}
static int l_to_table(lua_State *L);
Settings *m_settings;
Settings *m_settings = nullptr;
std::string m_filename;
bool m_is_own_settings;
bool m_write_allowed;
bool m_is_own_settings = false;
bool m_write_allowed = true;
public:
LuaSettings(Settings *settings, const std::string &filename);