From a99c7ff9d06734773a9db65aafe0a589527be400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 15 Oct 2007 16:58:15 +0000 Subject: [PATCH] Changed wrong insert_after_and_dispose() with insert_after [SVN r40062] --- include/boost/intrusive/slist.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/intrusive/slist.hpp b/include/boost/intrusive/slist.hpp index 8cda94e..d9e783e 100644 --- a/include/boost/intrusive/slist.hpp +++ b/include/boost/intrusive/slist.hpp @@ -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); } //! Requires: prev is an iterator to an element or x.end()/x.before_begin() in x.