From 969902f04569ab12e69e0d57ef1f6e9f0c42f855 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 17 Jul 2022 16:43:47 +0100 Subject: [Rework] Use another version of hash table from the same author --- src/libutil/cxx/hash_util.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libutil/cxx') diff --git a/src/libutil/cxx/hash_util.hxx b/src/libutil/cxx/hash_util.hxx index d8529774e..afad29fa5 100644 --- a/src/libutil/cxx/hash_util.hxx +++ b/src/libutil/cxx/hash_util.hxx @@ -20,7 +20,7 @@ #include #include -#include "contrib/robin-hood/robin_hood.h" +#include "contrib/ankerl/unordered_dense.h" namespace rspamd { @@ -81,10 +81,10 @@ struct smart_str_equal { struct smart_str_hash { using is_transparent = void; auto operator()(const std::string &a) const { - return robin_hood::hash()(a); + return ankerl::unordered_dense::hash()(a); } auto operator()(const std::string_view &a) const { - return robin_hood::hash()(a); + return ankerl::unordered_dense::hash()(a); } }; -- cgit v1.2.3