hashlib: Improve pool hash function.
This commit is contained in:
parent
3f2e550f51
commit
c07ca64ebe
@ -1004,7 +1004,7 @@ template <typename K, typename OPS> class pool
|
||||
|
||||
bool operator!=(const pool &other) const { return !operator==(other); }
|
||||
|
||||
bool hash() const
|
||||
unsigned int hash() const
|
||||
{
|
||||
unsigned int hashval = mkhash_init;
|
||||
for (auto &it : entries)
|
||||
|
Loading…
Reference in New Issue
Block a user