Skip to content

Commit

Permalink
Bugfix to avoid __out for MSVC (#2034)
Browse files Browse the repository at this point in the history
  • Loading branch information
danhoeflinger authored Feb 2, 2025
1 parent 83c3741 commit 60e06bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/algorithm_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2954,10 +2954,10 @@ __pattern_remove_if(__parallel_tag<_IsVector> __tag, _ExecutionPolicy&& __exec,
// the identical elements from the 2nd sequence are merged first.
template <typename _Iterator1, typename _Iterator2, typename _Iterator3, typename _Comp>
std::pair<_Iterator1, _Iterator2>
__serial_merge_out_lim(_Iterator1 __x, _Iterator1 __x_e, _Iterator2 __y, _Iterator2 __y_e, _Iterator3 __out,
__serial_merge_out_lim(_Iterator1 __x, _Iterator1 __x_e, _Iterator2 __y, _Iterator2 __y_e, _Iterator3 __out_b,
_Iterator3 __out_e, _Comp __comp)
{
for (_Iterator3 __k = __out; __k != __out_e; ++__k)
for (_Iterator3 __k = __out_b; __k != __out_e; ++__k)
{
if (__x == __x_e)
{
Expand Down

0 comments on commit 60e06bd

Please sign in to comment.