Skip to content

Commit 1117568

Browse files
authored
[libc++][NFC] Remove __default_allocator_type aliases (#126066)
These aliases are never used, so we can ditch them.
1 parent 16f7e96 commit 1117568

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

libcxx/include/__vector/vector.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
8484

8585
template <class _Tp, class _Allocator /* = allocator<_Tp> */>
8686
class _LIBCPP_TEMPLATE_VIS vector {
87-
private:
88-
typedef allocator<_Tp> __default_allocator_type;
89-
9087
public:
9188
//
9289
// Types

libcxx/include/string

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,6 @@ struct __padding<0> {};
763763

764764
template <class _CharT, class _Traits, class _Allocator>
765765
class basic_string {
766-
private:
767-
using __default_allocator_type _LIBCPP_NODEBUG = allocator<_CharT>;
768-
769766
public:
770767
typedef basic_string __self;
771768
typedef basic_string_view<_CharT, _Traits> __self_view;

0 commit comments

Comments
 (0)