diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 6d7a88a1..335c7852 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-07-09 18:02:48.416718 UTC -// This header was generated with sol v2.18.0 (revision 038ae3b) +// Generated 2017-07-09 23:05:15.984374 UTC +// This header was generated with sol v2.18.0 (revision 2d65f6c) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -11630,12 +11630,12 @@ namespace sol { template inline std::string make_string(Arg&& arg) { string_detail::string_shim s = make_shim(arg); - return std::string(s.c_str(), s.size()); + return std::string(s.data(), s.size()); } template inline luaL_Reg make_reg(N&& n, lua_CFunction f) { - luaL_Reg l{ make_shim(std::forward(n)).c_str(), f }; + luaL_Reg l{ make_shim(std::forward(n)).data(), f }; return l; } @@ -12501,7 +12501,7 @@ namespace sol { template void add(lua_State* L, N&& n, constructor_wrapper c) { - object o(L, in_place>>, std::move(c)); + object o(L, in_place_type>>, std::move(c)); if (std::is_same, call_construction>::value) { callconstructfunc = std::move(o); return; @@ -12511,7 +12511,7 @@ namespace sol { template void add(lua_State* L, N&& n, constructor_list c) { - object o(L, in_place>>, std::move(c)); + object o(L, in_place_type>>, std::move(c)); if (std::is_same, call_construction>::value) { callconstructfunc = std::move(o); return; @@ -12521,7 +12521,7 @@ namespace sol { template void add(lua_State* L, N&& n, destructor_wrapper c) { - object o(L, in_place>>, std::move(c)); + object o(L, in_place_type>>, std::move(c)); if (std::is_same, call_construction>::value) { callconstructfunc = std::move(o); return; @@ -12531,7 +12531,7 @@ namespace sol { template void add(lua_State* L, N&& n, destructor_wrapper c) { - object o(L, in_place>>, std::move(c)); + object o(L, in_place_type>>, std::move(c)); if (std::is_same, call_construction>::value) { callconstructfunc = std::move(o); return;