@@ -279,24 +279,24 @@ namespace hpx::parallel {
279
279
280
280
if (first1 == last1)
281
281
{
282
+ // clang-format off
282
283
return util::detail::convert_to_result (
283
284
detail::copy<util::in_out_result<Iter2, Iter3>>().call (
284
285
HPX_FORWARD (ExPolicy, policy), first2, last2, dest),
285
286
[first1](util::in_out_result<Iter2, Iter3> const & p)
286
- -> result_type {
287
- return {first1, p.in , p.out };
288
- });
287
+ -> result_type { return {first1, p.in , p.out }; });
288
+ // clang-format on
289
289
}
290
290
291
291
if (first2 == last2)
292
292
{
293
+ // clang-format off
293
294
return util::detail::convert_to_result (
294
295
detail::copy<util::in_out_result<Iter1, Iter3>>().call (
295
296
HPX_FORWARD (ExPolicy, policy), first1, last1, dest),
296
297
[first2](util::in_out_result<Iter1, Iter3> const & p)
297
- -> result_type {
298
- return {p.in , first2, p.out };
299
- });
298
+ -> result_type { return {p.in , first2, p.out }; });
299
+ // clang-format on
300
300
}
301
301
302
302
using buffer_type = typename set_operations_buffer<Iter3>::type;
@@ -402,7 +402,7 @@ namespace hpx {
402
402
" Requires at least output iterator." );
403
403
404
404
using result_type = hpx::parallel::util::in_in_out_result<FwdIter1,
405
- FwdIter3 , FwdIter3>;
405
+ FwdIter2 , FwdIter3>;
406
406
407
407
return hpx::parallel::util::get_third_element (
408
408
hpx::parallel::detail::set_union<result_type>().call (
0 commit comments