1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-14 23:58:36 +00:00

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 hash() const
unsigned int hash() const
{
unsigned int hashval = mkhash_init;
for (auto &it : entries)