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:
parent
4a78949083
commit
4a5e8ad343
40 changed files with 117 additions and 180 deletions
|
@ -119,7 +119,7 @@ protected:
|
|||
|
||||
std::recursive_mutex m_luastackmutex;
|
||||
std::string m_last_run_mod;
|
||||
bool m_secure;
|
||||
bool m_secure = false;
|
||||
#ifdef SCRIPTAPI_LOCK_DEBUG
|
||||
int m_lock_recursion_count;
|
||||
std::thread::id m_owning_thread;
|
||||
|
@ -128,11 +128,11 @@ protected:
|
|||
private:
|
||||
static int luaPanic(lua_State *L);
|
||||
|
||||
lua_State* m_luastack;
|
||||
lua_State *m_luastack = nullptr;
|
||||
|
||||
IGameDef* m_gamedef;
|
||||
Environment* m_environment;
|
||||
GUIEngine* m_guiengine;
|
||||
IGameDef *m_gamedef = nullptr;
|
||||
Environment *m_environment = nullptr;
|
||||
GUIEngine *m_guiengine = nullptr;
|
||||
};
|
||||
|
||||
#endif /* S_BASE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue