Skip to content

Commit

Permalink
hashlib: Use a better hash for pool.
Browse files Browse the repository at this point in the history
  • Loading branch information
wanda-phi committed Sep 26, 2023
1 parent 934c822 commit 5a2e863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/hashlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ class pool
return !operator==(other);
}

bool hash() const {
unsigned int hash() const {
unsigned int hashval = mkhash_init;
for (auto &it : entries)
hashval ^= ops.hash(it.udata);
Expand Down

0 comments on commit 5a2e863

Please sign in to comment.