diff --git a/src/util/IntrusiveHashSet.hxx b/src/util/IntrusiveHashSet.hxx index d524bddd9..c222a88e7 100644 --- a/src/util/IntrusiveHashSet.hxx +++ b/src/util/IntrusiveHashSet.hxx @@ -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))