From e7734e642d2ebba9013eee9e5a5e790e7c9b237f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 25 Apr 2014 08:57:46 -0700 Subject: [PATCH] Use nullptr --- src/auto4_lua.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto4_lua.h b/src/auto4_lua.h index ef06f694f..5db89c47d 100644 --- a/src/auto4_lua.h +++ b/src/auto4_lua.h @@ -124,7 +124,7 @@ namespace Automation4 { /// makes a Lua representation of AssEntry and places on the top of the stack void AssEntryToLua(lua_State *L, size_t idx); /// assumes a Lua representation of AssEntry on the top of the stack, and creates an AssEntry object of it - static std::unique_ptr LuaToAssEntry(lua_State *L, AssFile *ass=0); + static std::unique_ptr LuaToAssEntry(lua_State *L, AssFile *ass=nullptr); /// @brief Signal that the script using this file is now done running /// @param set_undo If there's any uncommitted changes to the file,