From 6b2e282ab07b5578472760339640ad7d1afdc796 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 23 Feb 2018 16:59:48 -0500 Subject: [PATCH] oops, the logic for the define was wrong :< --- single/sol/sol.hpp | 11 ++++++++--- single/sol/sol_forward.hpp | 4 ++-- sol/usertype_metatable.hpp | 7 ++++++- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 7e9a4299..85f158d7 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 2018-02-23 16:30:19.109420 UTC -// This header was generated with sol v2.19.4 (revision 12139b8) +// Generated 2018-02-23 21:59:31.750406 UTC +// This header was generated with sol v2.19.4 (revision b60132e) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -17267,9 +17267,14 @@ namespace sol { namespace sol { namespace usertype_detail { -#if defined(SOL_USE_BOOST) && !defined(SOL_CXX17_FEATURES) +#if defined(SOL_USE_BOOST) +#if defined(SOL_CXX17_FEATURES) + template , typename E = std::equal_to<>> + using map_t = boost::unordered_map; +#else template , typename E = std::equal_to<>> using map_t = boost::unordered_map; +#endif // C++17 or not, WITH boost #else template , typename E = std::equal_to<>> using map_t = std::unordered_map; diff --git a/single/sol/sol_forward.hpp b/single/sol/sol_forward.hpp index 56a7fe9e..7f6b4322 100644 --- a/single/sol/sol_forward.hpp +++ b/single/sol/sol_forward.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 2018-02-23 16:30:19.313545 UTC -// This header was generated with sol v2.19.4 (revision 12139b8) +// Generated 2018-02-23 21:59:32.038059 UTC +// This header was generated with sol v2.19.4 (revision b60132e) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP diff --git a/sol/usertype_metatable.hpp b/sol/usertype_metatable.hpp index 3f8a7371..427fb474 100644 --- a/sol/usertype_metatable.hpp +++ b/sol/usertype_metatable.hpp @@ -48,9 +48,14 @@ namespace sol { namespace usertype_detail { -#if defined(SOL_USE_BOOST) && !defined(SOL_CXX17_FEATURES) +#if defined(SOL_USE_BOOST) +#if defined(SOL_CXX17_FEATURES) + template , typename E = std::equal_to<>> + using map_t = boost::unordered_map; +#else template , typename E = std::equal_to<>> using map_t = boost::unordered_map; +#endif // C++17 or not, WITH boost #else template , typename E = std::equal_to<>> using map_t = std::unordered_map;