From ee74676775f06bc3f10f8951d531972b817dc2f4 Mon Sep 17 00:00:00 2001 From: Merry Date: Sun, 1 May 2022 18:26:50 +0100 Subject: [PATCH] mcl: hmap: Better default hash --- include/mcl/container/hmap.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mcl/container/hmap.hpp b/include/mcl/container/hmap.hpp index b122807..ffae781 100644 --- a/include/mcl/container/hmap.hpp +++ b/include/mcl/container/hmap.hpp @@ -11,6 +11,7 @@ #include "mcl/assert.hpp" #include "mcl/bitsizeof.hpp" +#include "mcl/hash/xmrx.hpp" #include "mcl/hint/assume.hpp" #include "mcl/macro/architecture.hpp" #include "mcl/stdint.hpp" @@ -295,7 +296,7 @@ private: slot_type* slot_ptr{nullptr}; }; -template, typename Pred = std::equal_to> +template, typename Pred = std::equal_to> class hmap { public: using key_type = KeyType;