Skip to content

Commit e3481bb

Browse files
committed
Apply suggestions
1 parent b98de1a commit e3481bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/deque

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ public:
5959
6060
deque& operator=(const deque& c);
6161
deque& operator=(deque&& c)
62-
noexcept((__alloc_traits::propagate_on_container_move_assignment::value &&
62+
noexcept((allocator_traits<allocator_type>::propagate_on_container_move_assignment::value &&
6363
is_nothrow_move_assignable<allocator_type>::value) ||
64-
__alloc_traits::is_always_equal::value);
64+
allocator_traits<allocator_type>::is_always_equal::value);
6565
deque& operator=(initializer_list<value_type> il);
6666
6767
template <class InputIterator>
@@ -133,7 +133,7 @@ public:
133133
iterator erase(const_iterator p);
134134
iterator erase(const_iterator f, const_iterator l);
135135
void swap(deque& c)
136-
noexcept(__alloc_traits::is_always_equal::value); // C++17
136+
noexcept(allocator_traits<allocator_type>::is_always_equal::value); // C++17
137137
void clear() noexcept;
138138
};
139139

0 commit comments

Comments
 (0)