forked from OSchip/llvm-project
Fix typo in assertion message. Reported by Shriramana Sharma.
llvm-svn: 184691
This commit is contained in:
parent
58ca945f38
commit
c3f9c80894
|
@ -1600,7 +1600,7 @@ template <class _Tp, class _Alloc>
|
|||
void
|
||||
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& __n = *base::__end_.__prev_;
|
||||
base::__unlink_nodes(__n, __n);
|
||||
|
|
Loading…
Reference in New Issue