util/IntrusiveHashSet: fix find_if() concept

This commit is contained in:
Max Kellermann 2022-12-01 16:24:52 +01:00 committed by Max Kellermann
parent 52af03a5a6
commit 868958e159
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ public:
*/
[[nodiscard]] [[gnu::pure]]
constexpr bucket_iterator find_if(const auto &key,
Disposer<value_type> auto pred) noexcept {
Predicate<const_reference> auto pred) noexcept {
auto &bucket = GetBucket(key);
for (auto &i : bucket)
if (equal(key, i) && pred(i))