Changed wrong insert_after_and_dispose() with insert_after

[SVN r40062]
This commit is contained in:
Ion Gaztañaga
2007-10-15 16:58:15 +00:00
parent 0200c03792
commit a99c7ff9d0

View File

@@ -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.