mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 14:34:44 +02:00
Fixed dispose_and_assign bug in list
[SVN r39962]
This commit is contained in:
@@ -859,7 +859,7 @@ class list_impl
|
||||
template<class Iterator, class Disposer>
|
||||
void dispose_and_assign(Disposer disposer, Iterator b, Iterator e)
|
||||
{
|
||||
this->clear(disposer);
|
||||
this->clear_and_dispose(disposer);
|
||||
this->insert(this->end(), b, e);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user