From aa8da54776281cac7c5b8b37ad7d3324d8ab1ed7 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 19 Jun 2018 22:31:29 +0200 Subject: [PATCH] [DEV] update etk null --- luaWrapper/luaWrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luaWrapper/luaWrapper.hpp b/luaWrapper/luaWrapper.hpp index 15819e0..2e114fb 100644 --- a/luaWrapper/luaWrapper.hpp +++ b/luaWrapper/luaWrapper.hpp @@ -206,7 +206,7 @@ template std::shared_ptr luaW_check(lua_State* _L, int _index, b return obj; } -template std::shared_ptr luaW_opt(lua_State* _L, int _index, std::shared_ptr _fallback = nullptr, bool _strict = false) { +template std::shared_ptr luaW_opt(lua_State* _L, int _index, std::shared_ptr _fallback = null, bool _strict = false) { if (lua_isnil(_L, _index)) { return _fallback; } else {