diff --git a/include/mcl/hash/xmrx.hpp b/include/mcl/hash/xmrx.hpp index 3ba38ca..2f2c976 100644 --- a/include/mcl/hash/xmrx.hpp +++ b/include/mcl/hash/xmrx.hpp @@ -23,7 +23,7 @@ constexpr size_t xmrx(size_t x) template struct avalanche_xmrx { - size_t operator()(const T& value) + size_t operator()(const T& value) const { return xmrx(std::hash{}(value)); }