summaryrefslogtreecommitdiffstats
path: root/src/libutil/cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-07-18 17:38:52 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-07-18 17:38:52 +0100
commit4c12780d9dee6a206845d4629026ce5b4e650fe5 (patch)
tree57692b6f7f821bb0027e4f8c6c1c7a74c33609e5 /src/libutil/cxx
parent788b7d345fa116646c5e240f942c79febcdb7443 (diff)
downloadrspamd-4c12780d9dee6a206845d4629026ce5b4e650fe5.tar.gz
rspamd-4c12780d9dee6a206845d4629026ce5b4e650fe5.zip
[Minor] Add is_avalanching type hint
Diffstat (limited to 'src/libutil/cxx')
-rw-r--r--src/libutil/cxx/hash_util.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/cxx/hash_util.hxx b/src/libutil/cxx/hash_util.hxx
index afad29fa5..86f094083 100644
--- a/src/libutil/cxx/hash_util.hxx
+++ b/src/libutil/cxx/hash_util.hxx
@@ -80,6 +80,7 @@ struct smart_str_equal {
struct smart_str_hash {
using is_transparent = void;
+ using is_avalanching = typename ankerl::unordered_dense::hash<std::string_view>::is_avalanching;
auto operator()(const std::string &a) const {
return ankerl::unordered_dense::hash<std::string>()(a);
}