summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/tproc/rope.inl
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 08:03:01 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 08:03:38 +0100
commitbc277f70e683afea8b571b77b03976b141a8be2b (patch)
tree0dd37009bfd33e75a39bc68a4e4179dc2e9b6a22 /include/ocl/tproc/rope.inl
parent7d48d4819c6726c70515ec4af0ca73f7dc2e36e6 (diff)
feat: fix function signature of find, find_if.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/tproc/rope.inl')
-rw-r--r--include/ocl/tproc/rope.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ocl/tproc/rope.inl b/include/ocl/tproc/rope.inl
index 4158e16..d53899f 100644
--- a/include/ocl/tproc/rope.inl
+++ b/include/ocl/tproc/rope.inl
@@ -10,7 +10,7 @@ namespace ocl::tproc::rope
{
template <typename It, class Pred>
- It find(It begin, It end, Pred pred)
+ Pred find(It begin, It end, Pred pred)
{
for (auto it = begin; it != end; ++it)
{
@@ -24,7 +24,7 @@ namespace ocl::tproc::rope
}
template <typename It, class Pred>
- It find_if(It begin, It end, Pred pred)
+ Pred find_if(It begin, It end, Pred pred)
{
for (auto it = begin; it != end; ++it)
{