diff --git a/sol/stack.hpp b/sol/stack.hpp index ae5d9af8..6516309b 100644 --- a/sol/stack.hpp +++ b/sol/stack.hpp @@ -262,7 +262,7 @@ struct getter { return nullptr; void* udata = lua_touserdata(L, index); T** obj = static_cast(udata); - return *obj; + return *obj; } };