Skip to content

Commit 794b4c1

Browse files
committed
[oneDPL][ranges][merge] + std::pair instead of auto
1 parent 912972b commit 794b4c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/oneapi/dpl/pstl/algorithm_impl.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3075,8 +3075,8 @@ ___merge_path_out_lim(__parallel_tag<_IsVector>, _ExecutionPolicy&& __exec, _It1
30753075
}
30763076

30773077
//serial merge n elements, starting from input x and y, to [i, j) output range
3078-
const auto __res = __serial_merge_out_lim(__it_1 + __r, __it_1 + __n_1, __it_2 + __c, __it_2 + __n_2,
3079-
__it_out + __i, __it_out + __j, __comp);
3078+
const std::pair __res = __serial_merge_out_lim(__it_1 + __r, __it_1 + __n_1, __it_2 + __c,
3079+
__it_2 + __n_2, __it_out + __i, __it_out + __j, __comp);
30803080

30813081
if (__j == __n_out)
30823082
{

0 commit comments

Comments
 (0)