diff --git a/libcxx/include/__utility/decay_copy.h b/libcxx/include/__utility/decay_copy.h --- a/libcxx/include/__utility/decay_copy.h +++ b/libcxx/include/__utility/decay_copy.h @@ -21,7 +21,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD template -inline _LIBCPP_INLINE_VISIBILITY typename decay<_Tp>::type __decay_copy(_Tp&& __t) +_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR +typename decay<_Tp>::type __decay_copy(_Tp&& __t) #if _LIBCPP_STD_VER > 17 noexcept(is_nothrow_convertible_v<_Tp, remove_reference_t<_Tp> >) #endif