Skip to content

Commit 6206749

Browse files
include/oneapi/dpl/pstl/algorithm_impl.h - fix compile error: unused wariable
1 parent b9e1c35 commit 6206749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/oneapi/dpl/pstl/algorithm_impl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3680,8 +3680,8 @@ __parallel_set_op(__parallel_tag<_IsVector> __tag, _ExecutionPolicy&& __exec, _R
36803680
__set_union_op, __comp, __proj1, __proj2, __buf_raw_data_begin,
36813681
__mask_bufs};
36823682

3683-
auto __apex_pred = [__n_out, __result1, __result2, &__res_reachedOutPos,
3684-
&__scan_pred](const _SetRange& __total) {
3683+
auto __apex_pred = [ [[maybe_unused]] __n_out, &__res_reachedOutPos, &__scan_pred ](const _SetRange& __total)
3684+
{
36853685
//final scan
36863686
__scan_pred(/* 0 */ _DifferenceType1{}, /* 0 */ _DifferenceType1{}, __total);
36873687

0 commit comments

Comments
 (0)