[DEV] update etk null

This commit is contained in:
Edouard DUPIN 2018-06-19 22:31:29 +02:00
parent 305fc697d9
commit aa8da54776

View File

@ -206,7 +206,7 @@ template <typename T> std::shared_ptr<T> luaW_check(lua_State* _L, int _index, b
return obj;
}
template <typename T> std::shared_ptr<T> luaW_opt(lua_State* _L, int _index, std::shared_ptr<T> _fallback = nullptr, bool _strict = false) {
template <typename T> std::shared_ptr<T> luaW_opt(lua_State* _L, int _index, std::shared_ptr<T> _fallback = null, bool _strict = false) {
if (lua_isnil(_L, _index)) {
return _fallback;
} else {