Skip to content

Commit

Permalink
name the field
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdesaulniers committed Jan 8, 2024
1 parent 0cf83d9 commit a18bd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/src/__support/HashTable/table.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ struct HashTable {
return {0, full_capacity() - available_slots,
Group::load_aligned(&control(0)).occupied(), *this};
}
iterator end() const { return {0, 0, {{0}}, *this}; }
iterator end() const { return {0, 0, {BitMask{0}}, *this}; }

LIBC_INLINE ENTRY *find(const char *key) {
uint64_t primary = oneshot_hash(key);
Expand Down

0 comments on commit a18bd3b

Please sign in to comment.