removed wrong check from splice(it, list, first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1047,10 +1047,11 @@ private:
|
||||
{ splice(it, l, l.begin(), l.end() ); } \
|
||||
void splice(const iterator& it, name& l, const iterator& first) \
|
||||
{ \
|
||||
iterator tmp = first; ++tmp; \
|
||||
if(it == first || it == tmp) return; \
|
||||
insert(it, *first); \
|
||||
l.erase(first); \
|
||||
if ( it != first ) \
|
||||
{ \
|
||||
insert(it, *first); \
|
||||
l.erase(first); \
|
||||
} \
|
||||
} \
|
||||
void remove(const_reference v) \
|
||||
{ DeleteObject((const_base_reference)v); } \
|
||||
|
Reference in New Issue
Block a user