From c07ca64ebefc9d796ae0e11dc83a2c11e96a8b8b Mon Sep 17 00:00:00 2001 From: Wanda Date: Wed, 27 Sep 2023 16:00:16 +0200 Subject: [PATCH] hashlib: Improve pool hash function. --- common/kernel/hashlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kernel/hashlib.h b/common/kernel/hashlib.h index a3fcd4ca..008a581e 100644 --- a/common/kernel/hashlib.h +++ b/common/kernel/hashlib.h @@ -1004,7 +1004,7 @@ template 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)