Skip to content

Commit

Permalink
Drop noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Dec 5, 2024
1 parent 84847d9 commit c2c32a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions thrust/thrust/detail/contiguous_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ class contiguous_storage
_CCCL_HOST_DEVICE void deallocate() noexcept;

_CCCL_EXEC_CHECK_DISABLE
_CCCL_HOST_DEVICE void swap(contiguous_storage& x) noexcept(
allocator_traits<Alloc>::propagate_on_container_swap::value || allocator_traits<Alloc>::is_always_equal::value)
_CCCL_HOST_DEVICE void swap(contiguous_storage& x)
{
using ::cuda::std::swap;
swap(m_begin, x.m_begin);
Expand Down

0 comments on commit c2c32a3

Please sign in to comment.