Fix typo in assertion message. Reported by Shriramana Sharma.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@184691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fcd8db7133
commit
c7a39cf584
@ -1600,7 +1600,7 @@ template <class _Tp, class _Alloc>
|
|||||||
void
|
void
|
||||||
list<_Tp, _Alloc>::pop_back()
|
list<_Tp, _Alloc>::pop_back()
|
||||||
{
|
{
|
||||||
_LIBCPP_ASSERT(!empty(), "list::pop_front() called with empty list");
|
_LIBCPP_ASSERT(!empty(), "list::pop_back() called with empty list");
|
||||||
__node_allocator& __na = base::__node_alloc();
|
__node_allocator& __na = base::__node_alloc();
|
||||||
__node& __n = *base::__end_.__prev_;
|
__node& __n = *base::__end_.__prev_;
|
||||||
base::__unlink_nodes(__n, __n);
|
base::__unlink_nodes(__n, __n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user