From c5505c234adc7dcea0a598e6564c100db31f6161 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Tue, 3 Oct 2017 08:26:23 -0400 Subject: [PATCH] I'm not the smartest. --- single/sol/sol.hpp | 6 +++--- sol/stack_get.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } };