Skip to content

Commit

Permalink
drop HIDE_FROM_ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Apr 25, 2024
1 parent 09b4604 commit 88cb478
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libcudacxx/include/cuda/std/__memory/unique_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -759,17 +759,15 @@ template <class _Tp, class... _Args>
_LIBCUDACXX_INLINE_VISIBILITY typename __unique_if<_Tp>::__unique_array_known_bound make_unique(_Args&&...) = delete;

template <class _Tp>
inline _LIBCUDACXX_HIDE_FROM_ABI _LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX20
typename __unique_if<_Tp>::__unique_single
make_unique_for_overwrite()
_LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_single
make_unique_for_overwrite()
{
return unique_ptr<_Tp>(new _Tp);
}

template <class _Tp>
inline _LIBCUDACXX_HIDE_FROM_ABI _LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX20
typename __unique_if<_Tp>::__unique_array_unknown_bound
make_unique_for_overwrite(size_t __n)
_LIBCUDACXX_INLINE_VISIBILITY _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_array_unknown_bound
make_unique_for_overwrite(size_t __n)
{
return unique_ptr<_Tp>(new __remove_extent_t<_Tp>[__n]);
}
Expand Down

0 comments on commit 88cb478

Please sign in to comment.