summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-04 08:01:34 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-04 08:01:46 +0100
commitd04b5f826f721d3a486ddbf6dd3ee181c2012f68 (patch)
tree3fccab8295de48eff161dd252c96c3cc6fe394e5
parent4d82c27728d92ebcf51e20ae444967b407931445 (diff)
chore: use Pred size_type instead of It.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-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 2545e3e..5ae96f1 100644
--- a/include/ocl/tproc/rope.inl
+++ b/include/ocl/tproc/rope.inl
@@ -59,7 +59,7 @@ namespace ocl::tproc::rope
}
template <typename It, class Pred>
- typename It::size_type erase_if(It begin, It end, Pred)
+ typename Pred::size_type erase_if(It begin, It end, Pred)
{
typename Pred::size_type count{};
@@ -81,4 +81,4 @@ namespace ocl::tproc::rope
} // namespace ocl::tproc::rope
-#endif \ No newline at end of file
+#endif