From a940a8bf37d76893fbb05ef61b9321db17b9cce8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 21 Jul 2021 18:18:51 +0200 Subject: [PATCH] AK: Remove unused private HashTable::lookup_for_reading() --- AK/HashTable.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/AK/HashTable.h b/AK/HashTable.h index de34a85882..7ce8376b0b 100644 --- a/AK/HashTable.h +++ b/AK/HashTable.h @@ -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())