|
Boost-Commit : |
From: igaztanaga_at_[hidden]
Date: 2007-10-12 11:41:44
Author: igaztanaga
Date: 2007-10-12 11:41:44 EDT (Fri, 12 Oct 2007)
New Revision: 39962
URL: http://svn.boost.org/trac/boost/changeset/39962
Log:
Fixed dispose_and_assign bug in list
Text files modified:
trunk/boost/intrusive/list.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/intrusive/list.hpp
==============================================================================
--- trunk/boost/intrusive/list.hpp (original)
+++ trunk/boost/intrusive/list.hpp 2007-10-12 11:41:44 EDT (Fri, 12 Oct 2007)
@@ -859,7 +859,7 @@
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);
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk