diff options
author | 2020-07-28 20:33:25 -0400 | |
---|---|---|
committer | 2020-07-28 20:33:25 -0400 | |
commit | dcbee7cda6faea688605ed24c2548187cb55f60a (patch) | |
tree | b1fa54bbf460a25d2f89048dbb09ad3d145aaf88 /3rdparty/sol2/sol/stack_push.hpp | |
parent | ab37462a09de15accbca6e5a4b66fb9597daa4f9 (diff) |
Fix SOL2 build on GCC 10.2 by working around overload resolution problem
Diffstat (limited to '3rdparty/sol2/sol/stack_push.hpp')
-rw-r--r-- | 3rdparty/sol2/sol/stack_push.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/sol2/sol/stack_push.hpp b/3rdparty/sol2/sol/stack_push.hpp index 9a839107fde..6e407cceb84 100644 --- a/3rdparty/sol2/sol/stack_push.hpp +++ b/3rdparty/sol2/sol/stack_push.hpp @@ -546,7 +546,7 @@ namespace sol { } static int push(lua_State* L, const wchar_t(&str)[N], std::size_t sz) { - return stack::push<const wchar_t*>(L, str, str + sz); + return stack::push_specific<const wchar_t*>(L, str, str + sz); } }; @@ -557,7 +557,7 @@ namespace sol { } static int push(lua_State* L, const char16_t(&str)[N], std::size_t sz) { - return stack::push<const char16_t*>(L, str, str + sz); + return stack::push_specific<const char16_t*>(L, str, str + sz); } }; @@ -568,7 +568,7 @@ namespace sol { } static int push(lua_State* L, const char32_t(&str)[N], std::size_t sz) { - return stack::push<const char32_t*>(L, str, str + sz); + return stack::push_specific<const char32_t*>(L, str, str + sz); } }; |