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 authored and Ravenslofty committed Sep 26, 2023
1 parent 934c822 commit c172fef
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 c172fef

Please sign in to comment.