Skip to content

Commit 6a9ab4d

Browse files
committed
Remove _LIBCPP_NODEBUG from aliases for Cxx03.
1 parent 473760f commit 6a9ab4d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libcxx/include/__memory/allocator_traits.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct __const_pointer {
5858
template <class _Tp, class _Ptr, class _Alloc>
5959
struct __const_pointer<_Tp, _Ptr, _Alloc, false> {
6060
#ifdef _LIBCPP_CXX03_LANG
61-
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
61+
using type = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
6262
#else
6363
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const _Tp>;
6464
#endif
@@ -73,7 +73,7 @@ struct __void_pointer {
7373
template <class _Ptr, class _Alloc>
7474
struct __void_pointer<_Ptr, _Alloc, false> {
7575
#ifdef _LIBCPP_CXX03_LANG
76-
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<void>::other;
76+
using type = typename pointer_traits<_Ptr>::template rebind<void>::other;
7777
#else
7878
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<void>;
7979
#endif
@@ -88,7 +88,7 @@ struct __const_void_pointer {
8888
template <class _Ptr, class _Alloc>
8989
struct __const_void_pointer<_Ptr, _Alloc, false> {
9090
#ifdef _LIBCPP_CXX03_LANG
91-
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void>::other;
91+
using type = typename pointer_traits<_Ptr>::template rebind<const void>::other;
9292
#else
9393
using type _LIBCPP_NODEBUG = typename pointer_traits<_Ptr>::template rebind<const void>;
9494
#endif
@@ -245,9 +245,9 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits {
245245

246246
#ifndef _LIBCPP_CXX03_LANG
247247
template <class _Tp>
248-
using rebind_alloc _LIBCPP_NODEBUG = __allocator_traits_rebind_t<allocator_type, _Tp>;
248+
using rebind_alloc = __allocator_traits_rebind_t<allocator_type, _Tp>;
249249
template <class _Tp>
250-
using rebind_traits _LIBCPP_NODEBUG = allocator_traits<rebind_alloc<_Tp>>;
250+
using rebind_traits = allocator_traits<rebind_alloc<_Tp>>;
251251
#else // _LIBCPP_CXX03_LANG
252252
template <class _Tp>
253253
struct rebind_alloc {
@@ -350,7 +350,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits {
350350

351351
#ifndef _LIBCPP_CXX03_LANG
352352
template <class _Traits, class _Tp>
353-
using __rebind_alloc _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>;
353+
using __rebind_alloc = typename _Traits::template rebind_alloc<_Tp>;
354354
#else
355355
template <class _Traits, class _Tp>
356356
using __rebind_alloc _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>::other;

0 commit comments

Comments
 (0)