mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
AK: Remove unused private HashTable::lookup_for_reading()
This commit is contained in:
parent
f65b039c44
commit
a940a8bf37
1 changed files with 0 additions and 5 deletions
|
@ -424,11 +424,6 @@ private:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] BucketType const* lookup_for_reading(T const& value) const
|
|
||||||
{
|
|
||||||
return lookup_with_hash(TraitsForT::hash(value), [&value](auto& entry) { return TraitsForT::equals(entry, value); });
|
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]] BucketType& lookup_for_writing(T const& value)
|
[[nodiscard]] BucketType& lookup_for_writing(T const& value)
|
||||||
{
|
{
|
||||||
if (should_grow())
|
if (should_grow())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue