diff options
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index 6d078e3..8bcc2a3 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -102,7 +102,7 @@ public: lua_pushliteral(s, "__index"); // metatable, "__index" lua_createtable(s, 0, 0); // metatable, "__index", {} #if LUA_VERSION_NUM < 502 - luaL_register(s, NULL, members); + luaL_register(s, nullptr, members); #else luaL_setfuncs(s, members, 0); #endif |