diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 463597e6..f76f2e4c 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2017-10-03 12:11:17.678787 UTC -// This header was generated with sol v2.18.4 (revision 22d9905) +// Generated 2017-10-03 12:26:06.843171 UTC +// This header was generated with sol v2.18.4 (revision 3660aec) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -8326,7 +8326,7 @@ namespace stack { tracking.use(1); void* memory = lua_touserdata(L, index); memory = detail::align_user(memory); - return *static_cast*>(); + return *static_cast*>(memory); } }; diff --git a/sol/stack_get.hpp b/sol/stack_get.hpp index a539b20e..3cb92822 100644 --- a/sol/stack_get.hpp +++ b/sol/stack_get.hpp @@ -383,7 +383,7 @@ namespace stack { tracking.use(1); void* memory = lua_touserdata(L, index); memory = detail::align_user(memory); - return *static_cast*>(); + return *static_cast*>(memory); } };