Skip to content

Commit

Permalink
Add one more _CCCL_EXEC_CHECK_DISABLE to optional::reset
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed May 7, 2024
1 parent f53f8dd commit be6ce88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcudacxx/include/cuda/std/detail/libcxx/include/optional
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ struct __optional_destruct_base<_Tp, false>
, __engaged_(true)
{}

_CCCL_EXEC_CHECK_DISABLE
_LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX20 void reset() noexcept
{
if (__engaged_)
Expand Down

0 comments on commit be6ce88

Please sign in to comment.