Skip to content

Commit

Permalink
Silence a useless warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
griwes committed Apr 22, 2024
1 parent 259508d commit 125c526
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcudacxx/include/cuda/std/detail/libcxx/include/bitset
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,13 @@ protected:
: __first_(0)
{}

_CCCL_DIAG_PUSH
_CCCL_DIAG_SUPPRESS_MSVC(4293)
_LIBCUDACXX_HIDE_FROM_ABI _LIBCUDACXX_INLINE_VISIBILITY explicit constexpr __bitset(unsigned long long __v) noexcept
: __first_(_Size == __bits_per_word ? static_cast<__storage_type>(__v)
: static_cast<__storage_type>(__v) & ((__storage_type(1) << _Size) - 1))
{}
_CCCL_DIAG_POP

_LIBCUDACXX_HIDE_FROM_ABI _LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX14 reference
__make_ref(size_t __pos) noexcept
Expand Down

0 comments on commit 125c526

Please sign in to comment.