[libcxx] r184691 - Fix typo in assertion message. Reported by Shriramana Sharma.
Dmitri Gribenko
gribozavr at gmail.com
Sun Jun 23 23:15:57 PDT 2013
Author: gribozavr
Date: Mon Jun 24 01:15:57 2013
New Revision: 184691
URL: http://llvm.org/viewvc/llvm-project?rev=184691&view=rev
Log:
Fix typo in assertion message. Reported by Shriramana Sharma.
Modified:
libcxx/trunk/include/list
Modified: libcxx/trunk/include/list
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/list?rev=184691&r1=184690&r2=184691&view=diff
==============================================================================
--- libcxx/trunk/include/list (original)
+++ libcxx/trunk/include/list Mon Jun 24 01:15:57 2013
@@ -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);
More information about the cfe-commits
mailing list