aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/cdb_backend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/backends/cdb_backend.cxx')
-rw-r--r--src/libstat/backends/cdb_backend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/backends/cdb_backend.cxx b/src/libstat/backends/cdb_backend.cxx
index d0915d2d7..5e188b978 100644
--- a/src/libstat/backends/cdb_backend.cxx
+++ b/src/libstat/backends/cdb_backend.cxx
@@ -27,7 +27,7 @@
#include <string>
#include <optional>
#include "contrib/expected/expected.hpp"
-#include "contrib/robin-hood/robin_hood.h"
+#include "contrib/ankerl/unordered_dense.h"
#include "fmt/core.h"
namespace rspamd::stat::cdb {
@@ -87,7 +87,7 @@ private:
* We store weak pointers here to allow owning cdb statfiles to free
* expensive cdb before this cache is terminated (e.g. on dynamic cdb reload)
*/
- robin_hood::unordered_flat_map<std::string, std::weak_ptr<struct cdb>> elts;
+ ankerl::unordered_dense::map<std::string, std::weak_ptr<struct cdb>> elts;
struct cdb_deleter {
void operator()(struct cdb *c) const {