fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1019,13 +1019,13 @@ private:
|
||||
void insert(const iterator& it, size_type n, const_reference v) \
|
||||
{ \
|
||||
for(size_type i = 0; i < n; ++i) \
|
||||
Insert(it.m_node, (const_base_reference)v); \
|
||||
insert(it, v); \
|
||||
} \
|
||||
void insert(const iterator& it, \
|
||||
const_iterator first, const const_iterator& last) \
|
||||
{ \
|
||||
for(; first != last; ++first) \
|
||||
Insert(it.m_node, (const_base_reference)*first); \
|
||||
insert(it, *first); \
|
||||
} \
|
||||
iterator erase(const iterator& it) \
|
||||
{ \
|
||||
|
Reference in New Issue
Block a user