mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 14:34:44 +02:00
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)
|
||||
{
|
||||
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.
|
||||
|
Reference in New Issue
Block a user