mcl: avalance_xmrx operator() should be const

This commit is contained in:
Merry 2023-09-12 21:24:37 +01:00
parent f4fae271c2
commit 9a9e5a5560

View File

@ -23,7 +23,7 @@ constexpr size_t xmrx(size_t x)
template<typename T>
struct avalanche_xmrx {
size_t operator()(const T& value)
size_t operator()(const T& value) const
{
return xmrx(std::hash<T>{}(value));
}