From 868958e159756a4abf581315595f1c04aea2455e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Dec 2022 16:24:52 +0100 Subject: [PATCH] util/IntrusiveHashSet: fix find_if() concept --- src/util/IntrusiveHashSet.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 auto pred) noexcept { + Predicate auto pred) noexcept { auto &bucket = GetBucket(key); for (auto &i : bucket) if (equal(key, i) && pred(i))