aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/cxx')
-rw-r--r--src/libutil/cxx/hash_util.hxx6
1 files changed, 3 insertions, 3 deletions
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 <string_view>
#include <string>
-#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<std::string>()(a);
+ return ankerl::unordered_dense::hash<std::string>()(a);
}
auto operator()(const std::string_view &a) const {
- return robin_hood::hash<std::string_view>()(a);
+ return ankerl::unordered_dense::hash<std::string_view>()(a);
}
};