summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 08:00:27 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 08:00:27 +0100
commit44209bcfee561efb73fbe0c27373f5f8d55c6046 (patch)
tree46ac43410a13a9f31df45999aebf7fe13b1b41b6 /include
parented4f331bc96b4abb711c5b47c969d5ecb3166e15 (diff)
feat: fix function signature of find, and find_if.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/fix.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ocl/fix.hpp b/include/ocl/fix.hpp
index 26742bd..53c7e4f 100644
--- a/include/ocl/fix.hpp
+++ b/include/ocl/fix.hpp
@@ -16,10 +16,10 @@ namespace ocl::fix
{
template <typename It, class Pred>
- It find(It begin, It end, Pred callable);
+ Pred find(It begin, It end, Pred callable);
- template <typename It, class Callable>
- It find_if(It begin, It end, Callable callable);
+ template <typename It, class Pred>
+ Pred find_if(It begin, It end, Pred callable);
} // namespace ocl::fix