AK: Remove unused private HashTable::lookup_for_reading()

This commit is contained in:
Andreas Kling 2021-07-21 18:18:51 +02:00
parent f65b039c44
commit a940a8bf37
Notes: sideshowbarker 2024-07-18 08:38:17 +09:00

View file

@ -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)
{
if (should_grow())