mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
oops, the logic for the define was wrong :<
This commit is contained in:
parent
b60132ef71
commit
6b2e282ab0
|
@ -20,8 +20,8 @@
|
||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2018-02-23 16:30:19.109420 UTC
|
// Generated 2018-02-23 21:59:31.750406 UTC
|
||||||
// This header was generated with sol v2.19.4 (revision 12139b8)
|
// This header was generated with sol v2.19.4 (revision b60132e)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
|
@ -17267,9 +17267,14 @@ namespace sol {
|
||||||
|
|
||||||
namespace sol {
|
namespace sol {
|
||||||
namespace usertype_detail {
|
namespace usertype_detail {
|
||||||
#if defined(SOL_USE_BOOST) && !defined(SOL_CXX17_FEATURES)
|
#if defined(SOL_USE_BOOST)
|
||||||
|
#if defined(SOL_CXX17_FEATURES)
|
||||||
|
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
||||||
|
using map_t = boost::unordered_map<K, V, H, E>;
|
||||||
|
#else
|
||||||
template <typename K, typename V, typename H = boost::hash<K>, typename E = std::equal_to<>>
|
template <typename K, typename V, typename H = boost::hash<K>, typename E = std::equal_to<>>
|
||||||
using map_t = boost::unordered_map<K, V, H, E>;
|
using map_t = boost::unordered_map<K, V, H, E>;
|
||||||
|
#endif // C++17 or not, WITH boost
|
||||||
#else
|
#else
|
||||||
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
||||||
using map_t = std::unordered_map<K, V, H, E>;
|
using map_t = std::unordered_map<K, V, H, E>;
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2018-02-23 16:30:19.313545 UTC
|
// Generated 2018-02-23 21:59:32.038059 UTC
|
||||||
// This header was generated with sol v2.19.4 (revision 12139b8)
|
// This header was generated with sol v2.19.4 (revision b60132e)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
||||||
|
|
|
@ -48,9 +48,14 @@
|
||||||
|
|
||||||
namespace sol {
|
namespace sol {
|
||||||
namespace usertype_detail {
|
namespace usertype_detail {
|
||||||
#if defined(SOL_USE_BOOST) && !defined(SOL_CXX17_FEATURES)
|
#if defined(SOL_USE_BOOST)
|
||||||
|
#if defined(SOL_CXX17_FEATURES)
|
||||||
|
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
||||||
|
using map_t = boost::unordered_map<K, V, H, E>;
|
||||||
|
#else
|
||||||
template <typename K, typename V, typename H = boost::hash<K>, typename E = std::equal_to<>>
|
template <typename K, typename V, typename H = boost::hash<K>, typename E = std::equal_to<>>
|
||||||
using map_t = boost::unordered_map<K, V, H, E>;
|
using map_t = boost::unordered_map<K, V, H, E>;
|
||||||
|
#endif // C++17 or not, WITH boost
|
||||||
#else
|
#else
|
||||||
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
template <typename K, typename V, typename H = std::hash<K>, typename E = std::equal_to<>>
|
||||||
using map_t = std::unordered_map<K, V, H, E>;
|
using map_t = std::unordered_map<K, V, H, E>;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user