diff --git a/modules/beast_crypto/math/beast_UnsignedInteger.h b/modules/beast_crypto/math/beast_UnsignedInteger.h index 4413511b9..2a891cba5 100644 --- a/modules/beast_crypto/math/beast_UnsignedInteger.h +++ b/modules/beast_crypto/math/beast_UnsignedInteger.h @@ -67,6 +67,13 @@ public: return hash; } + HashValue operator() (UnsignedInteger const& key) const noexcept + { + HashValue hash; + Murmur::Hash (key.cbegin (), key.sizeInBytes, m_seed, &hash); + return hash; + } + private: HashValue m_seed; };