From b1f7d81acb187d7b5491aed8d2efb57e016fc8b5 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Mon, 7 Aug 2017 15:10:05 -0400 Subject: [PATCH] immunize as_table from std::reference_wrapper and pointer types. --- single/sol/sol.hpp | 8 ++++---- sol/stack_push.hpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index f9cee5f1..15c0d344 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-08-07 18:54:03.754890 UTC -// This header was generated with sol v2.18.0 (revision c8728af) +// Generated 2017-08-07 19:09:40.022224 UTC +// This header was generated with sol v2.18.0 (revision c4b13b2) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -7295,7 +7295,7 @@ namespace sol { }; template - struct pusher, std::enable_if_t>::value>> { + struct pusher, std::enable_if_t>>::value>> { static int push(lua_State* L, const T& tablecont) { return push(meta::has_key_value_pair>>(), L, tablecont); } @@ -7348,7 +7348,7 @@ namespace sol { }; template - struct pusher, std::enable_if_t>::value>> { + struct pusher, std::enable_if_t>>::value>> { static int push(lua_State* L, const T& v) { return stack::push(L, v); } diff --git a/sol/stack_push.hpp b/sol/stack_push.hpp index 0892d595..6169dcaf 100644 --- a/sol/stack_push.hpp +++ b/sol/stack_push.hpp @@ -218,7 +218,7 @@ namespace sol { }; template - struct pusher, std::enable_if_t>::value>> { + struct pusher, std::enable_if_t>>::value>> { static int push(lua_State* L, const T& tablecont) { return push(meta::has_key_value_pair>>(), L, tablecont); } @@ -271,7 +271,7 @@ namespace sol { }; template - struct pusher, std::enable_if_t>::value>> { + struct pusher, std::enable_if_t>>::value>> { static int push(lua_State* L, const T& v) { return stack::push(L, v); }