diff options
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); } }; |