mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-06 23:20:08 +01:00
mcl: avalance_xmrx operator() should be const
This commit is contained in:
parent
f4fae271c2
commit
9a9e5a5560
@ -23,7 +23,7 @@ constexpr size_t xmrx(size_t x)
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct avalanche_xmrx {
|
struct avalanche_xmrx {
|
||||||
size_t operator()(const T& value)
|
size_t operator()(const T& value) const
|
||||||
{
|
{
|
||||||
return xmrx(std::hash<T>{}(value));
|
return xmrx(std::hash<T>{}(value));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user