From 511b58b370ee5a0d0045988cbd5c7b5454090534 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 2 Nov 2024 12:29:19 +0100 Subject: [PATCH] fix new find documentation --- src/messages/LimitedQueue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/LimitedQueue.hpp b/src/messages/LimitedQueue.hpp index 045ec5826..4d223ab15 100644 --- a/src/messages/LimitedQueue.hpp +++ b/src/messages/LimitedQueue.hpp @@ -357,7 +357,7 @@ public: * @brief Find an item with a hint * * @param hint A hint on where the needle _might_ be - * @param needle The item to search for + * @param predicate that will used to find the item * @return the item and its index or none if it's not found */ std::optional> find(size_t hint, auto &&predicate)