summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/tproc/rope.inl
diff options
context:
space:
mode:
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)
{