Skip to content

Commit

Permalink
Mark hasher<> in benchmark/unordered.cpp as avalanching
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Nov 25, 2024
1 parent b531903 commit e5ee7b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmark/unordered.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cstdio>
#include <string>
#include <vector>
#include <type_traits>

#define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__)

Expand All @@ -46,6 +47,8 @@ template<class T, class H> class hasher

public:

using is_avalanching = std::true_type;

hasher(): h_()
{
}
Expand Down

0 comments on commit e5ee7b4

Please sign in to comment.