Skip to content

Commit

Permalink
[oneDPL][ranges] + fix a minor error in a signature
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDvorskiy committed May 22, 2024
1 parent 4baf3c6 commit 05df261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/glue_algorithm_ranges_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ replace_copy(_ExecutionPolicy&& __exec, _Range1&& __rng, _Range2&& __result, con

// [alg.sort]

template <typename _ExecutionPolicy, typename _Range, typename _Compare, typename _Proj = std::identity>
template <typename _ExecutionPolicy, typename _Range, typename _Compare, typename _Proj>
oneapi::dpl::__internal::__enable_if_execution_policy<_ExecutionPolicy>
sort(_ExecutionPolicy&& __exec, _Range&& __rng, _Compare __comp, _Proj __proj = {})
sort(_ExecutionPolicy&& __exec, _Range&& __rng, _Compare __comp, _Proj __proj)
{
const auto __dispatch_tag = oneapi::dpl::__ranges::__select_backend(__exec, __rng);

Expand Down

0 comments on commit 05df261

Please sign in to comment.