Skip to content

Commit a18b5f0

Browse files
committed
[libcxx] NFC. Add missed articles to _LIPCPP_ASSERT messages in <list>
1 parent e35a549 commit a18b5f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/list

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __i)
20532053
" not referring to this list");
20542054
_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__i) == &__c,
20552055
"list::splice(iterator, list, iterator) called with the second iterator"
2056-
" not referring to list argument");
2056+
" not referring to the list argument");
20572057
_LIBCPP_ASSERT(__get_const_db()->__dereferenceable(&__i),
20582058
"list::splice(iterator, list, iterator) called with the second iterator"
20592059
" not dereferenceable");
@@ -2098,10 +2098,10 @@ list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __f, con
20982098
" referring to this list");
20992099
_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__f) == &__c,
21002100
"list::splice(iterator, list, iterator, iterator) called with second iterator not"
2101-
" referring to list argument");
2101+
" referring to the list argument");
21022102
_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__l) == &__c,
21032103
"list::splice(iterator, list, iterator, iterator) called with third iterator not"
2104-
" referring to list argument");
2104+
" referring to the list argument");
21052105
if (this == &__c)
21062106
{
21072107
for (const_iterator __i = __f; __i != __l; ++__i)

0 commit comments

Comments
 (0)