Skip to content

Commit 3b92cf2

Browse files
committed
[libc++] Add _LIBCPP_NODEBUG to __unwrap_ref_decay_t
`__unwrap_ref_decay_t` should be marked `_LIBCPP_NODEBUG`, since it's and internal type alias and this causes our CI to fail currently, since we started enforcing this policy via clang-tidy.
1 parent 2c2accb commit 3b92cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__type_traits/unwrap_ref.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct __unwrap_reference<reference_wrapper<_Tp> > {
3030
};
3131

3232
template <class _Tp>
33-
using __unwrap_ref_decay_t = typename __unwrap_reference<__decay_t<_Tp> >::type;
33+
using __unwrap_ref_decay_t _LIBCPP_NODEBUG = typename __unwrap_reference<__decay_t<_Tp> >::type;
3434

3535
#if _LIBCPP_STD_VER >= 20
3636
template <class _Tp>

0 commit comments

Comments
 (0)