forked from boostorg/intrusive
Changed wrong insert_after_and_dispose() with insert_after
[SVN r40062]
This commit is contained in:
@@ -905,7 +905,7 @@ class slist_impl
|
|||||||
void dispose_and_assign(Disposer disposer, Iterator b, Iterator e)
|
void dispose_and_assign(Disposer disposer, Iterator b, Iterator e)
|
||||||
{
|
{
|
||||||
this->clear_and_dispose(disposer);
|
this->clear_and_dispose(disposer);
|
||||||
this->insert_after_and_dispose(before_begin(), b, e, disposer);
|
this->insert_after(before_begin(), b, e, disposer);
|
||||||
}
|
}
|
||||||
|
|
||||||
//! <b>Requires</b>: prev is an iterator to an element or x.end()/x.before_begin() in x.
|
//! <b>Requires</b>: prev is an iterator to an element or x.end()/x.before_begin() in x.
|
||||||
|
Reference in New Issue
Block a user