Andreas Kling
5279a04c78
AK: Make Hash{Map,Table}::remove_all_matching() return removal success
...
These functions now return whether one or more entries were removed.
2022-01-05 18:57:14 +01:00
Andreas Kling
376e5ef912
AK: Add HashMap::remove_all_matching(predicate)
...
This removes all matching entries from a hash map in a single pass.
2022-01-05 18:57:14 +01:00
Gunnar Beutner
d954c11f66
Everywhere: Add missing includes for <AK/OwnPtr.h>
...
Previously <AK/Function.h> also included <AK/OwnPtr.h>. That's about to
change though. This patch fixes a few build problems that will occur
when that change happens.
2021-05-19 21:36:57 +02:00
Brian Gianforcaro
67322b0702
Tests: Move AK tests to Tests/AK
2021-05-06 17:54:28 +02:00