diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-06 19:14:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-07 00:08:22 +0100 |
commit | eb829924da68a191687f80671b543c6da399b151 (patch) | |
tree | 2f97198e60e1711d2f9010975e2c4db8577bae8f /AK/HashMap.h | |
parent | 623bdd8b6a818504db3c9df02d99b92ac7acb92d (diff) | |
download | serenity-eb829924da68a191687f80671b543c6da399b151.zip |
AK: Remove return value from HashTable::remove() and HashMap::remove()
This was only used by remove_all_matching(), where it's no longer used.
Diffstat (limited to 'AK/HashMap.h')
-rw-r--r-- | AK/HashMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/HashMap.h b/AK/HashMap.h index 3ba4f424bf..87d66c2523 100644 --- a/AK/HashMap.h +++ b/AK/HashMap.h @@ -189,9 +189,9 @@ public: return find(value) != end(); } - IteratorType remove(IteratorType it) + void remove(IteratorType it) { - return m_table.remove(it); + m_table.remove(it); } V& ensure(const K& key) |