Skip to content

Commit

Permalink
Fix unused variable warning (#2018)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-sobolev authored Jan 22, 2025
1 parent e4e4b8f commit 383c030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/oneapi/dpl/pstl/histogram_binhash_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ struct __custom_boundary_binhash
__custom_boundary_binhash(_RandomAccessIterator __boundary_first_, _RandomAccessIterator __boundary_last_)
: __boundary_first(__boundary_first_), __boundary_last(__boundary_last_)
{
::std::size_t __num_bins = ::std::distance(__boundary_first, __boundary_last);
assert(__num_bins < ::std::numeric_limits<::std::int32_t>::max());
assert(std::distance(__boundary_first, __boundary_last) < std::numeric_limits<std::int32_t>::max());
}

template <typename _T2>
Expand Down

0 comments on commit 383c030

Please sign in to comment.