Skip to content

Commit

Permalink
removing unused forwarding references
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <dan.hoeflinger@intel.com>
  • Loading branch information
danhoeflinger committed Aug 7, 2024
1 parent d0ef883 commit ea28133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ struct __gen_transform_input
{
template <typename InRng>
auto
operator()(InRng&& __in_rng, std::size_t __idx) const
operator()(const InRng& __in_rng, std::size_t __idx) const
{
using _ValueType = oneapi::dpl::__internal::__value_t<InRng>;
using _OutValueType = oneapi::dpl::__internal::__decay_with_tuple_specialization_t<
Expand All @@ -785,7 +785,7 @@ struct __simple_write_to_idx
{
template <typename _OutRng, typename ValueType>
void
operator()(_OutRng&& __out_rng, std::size_t __idx, const ValueType& __v) const
operator()(const _OutRng& __out_rng, std::size_t __idx, const ValueType& __v) const
{
// Use of an explicit cast to our internal tuple type is required to resolve conversion issues between our
// internal tuple and std::tuple. If the underlying type is not a tuple, then the type will just be passed through.
Expand Down

0 comments on commit ea28133

Please sign in to comment.