hashlib: Improve pool hash function.

This commit is contained in:
Wanda 2023-09-27 16:00:16 +02:00 committed by Marcelina Kościelnicka
parent 3f2e550f51
commit c07ca64ebe

View File

@ -1004,7 +1004,7 @@ template <typename K, typename OPS> class pool
bool operator!=(const pool &other) const { return !operator==(other); } bool operator!=(const pool &other) const { return !operator==(other); }
bool hash() const unsigned int hash() const
{ {
unsigned int hashval = mkhash_init; unsigned int hashval = mkhash_init;
for (auto &it : entries) for (auto &it : entries)