Change NULL to nullptr

This commit is contained in:
Birunthan Mohanathas
2013-05-31 17:28:39 +03:00
parent da9384cfad
commit 1934c5db72
92 changed files with 760 additions and 759 deletions

View File

@ -26,7 +26,7 @@ lua_State* LuaManager::c_State = 0;
void LuaManager::Initialize()
{
if (c_State == NULL)
if (c_State == nullptr)
{
// Initialize Lua
c_State = luaL_newstate();
@ -50,10 +50,10 @@ void LuaManager::Finalize()
--c_RefCount;
}
if (c_RefCount == 0 && c_State != NULL)
if (c_RefCount == 0 && c_State != nullptr)
{
lua_close(c_State);
c_State = NULL;
c_State = nullptr;
}
}