Skip to content

Commit c5b460b

Browse files
committed
fixup! modernize-use-equals-default
1 parent 07f560c commit c5b460b

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

libcudacxx/include/cuda/__iterator/zip_function.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,20 @@ class zip_function
7676
#ifndef _CCCL_DOXYGEN_INVOKED // Doxygen interprets this as a duplicated function
7777
//! @brief Applies a tuple to the stored functor
7878
//! @param __tuple The tuple of arguments to be passed
79-
_CCCL_EXEC_CHECK_DISABLE
8079
_CCCL_TEMPLATE(class _Tuple)
8180
_CCCL_REQUIRES(::cuda::std::__can_apply<const _Fn&, _Tuple>)
82-
[[nodiscard]] _CCCL_API constexpr decltype(auto) operator()(_Tuple&& __tuple) const
81+
[[nodiscard]] _CCCL_EXEC_CHECK_DISABLE
82+
_CCCL_API constexpr decltype(auto) operator()(_Tuple&& __tuple) const
8383
noexcept(__is_nothrow_invocable<const _Fn&, _Tuple>)
8484
{
8585
return ::cuda::std::apply(__fun_, ::cuda::std::forward<_Tuple>(__tuple));
8686
}
8787

8888
//! @brief Applies a tuple to the stored functor
89-
_CCCL_EXEC_CHECK_DISABLE
9089
_CCCL_TEMPLATE(class _Tuple)
9190
_CCCL_REQUIRES(::cuda::std::__can_apply<_Fn&, _Tuple>)
92-
[[nodiscard]] _CCCL_API constexpr decltype(auto)
93-
operator()(_Tuple&& __tuple) noexcept(__is_nothrow_invocable<_Fn&, _Tuple>)
91+
[[nodiscard]] _CCCL_EXEC_CHECK_DISABLE
92+
_CCCL_API constexpr decltype(auto) operator()(_Tuple&& __tuple) noexcept(__is_nothrow_invocable<_Fn&, _Tuple>)
9493
{
9594
return ::cuda::std::apply(__fun_, ::cuda::std::forward<_Tuple>(__tuple));
9695
}

0 commit comments

Comments
 (0)