From 5ff394ae0dc490333bc3c4504339eb1ae877b66d Mon Sep 17 00:00:00 2001 From: ThePhD Date: Tue, 16 May 2017 20:20:59 -0400 Subject: [PATCH] use the copy assignable trait, even if that's not exactly what we're going for... --- single/sol/sol.hpp | 6 +++--- sol/call.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 7f2d6432..ab96a857 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-05-16 10:11:15.504731 UTC -// This header was generated with sol v2.17.3 (revision 34b81be) +// Generated 2017-05-17 00:18:39.909842 UTC +// This header was generated with sol v2.17.3 (revision 51d6f6f) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -8396,7 +8396,7 @@ namespace sol { template static int call_const(std::false_type, lua_State* L, Args&&... args) { typedef typename traits_type::return_type R; - return call_assign(std::is_assignable>, R>(), L, std::forward(args)...); + return call_assign(std::is_copy_assignable>(), L, std::forward(args)...); } template diff --git a/sol/call.hpp b/sol/call.hpp index 2abca3e0..3ba640c2 100644 --- a/sol/call.hpp +++ b/sol/call.hpp @@ -335,7 +335,7 @@ namespace sol { template static int call_const(std::false_type, lua_State* L, Args&&... args) { typedef typename traits_type::return_type R; - return call_assign(std::is_assignable>, R>(), L, std::forward(args)...); + return call_assign(std::is_copy_assignable>(), L, std::forward(args)...); } template