From e06d16b6faad56a5c140a2270b5db818bfc8aef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 18 Dec 2012 21:09:01 +0000 Subject: [PATCH] Bug #7650 [SVN r82086] --- doc/container.qbk | 1 + include/boost/container/list.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/container.qbk b/doc/container.qbk index 6e7f9d2..7dbc319 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -616,6 +616,7 @@ use [*Boost.Container]? There are several reasons for that: [section:release_notes_boost_1_53_00 Boost 1.53 Release] +* Fixed bug [@https://svn.boost.org/trac/boost/ticket/7650 #7650]. * Improved `vector`'s insertion performance. * Changed again experimental multiallocation interface for better performance (still experimental). * Added no exception support for those willing to disable exceptions in their compilers. diff --git a/include/boost/container/list.hpp b/include/boost/container/list.hpp index b4a3cf3..571e63a 100644 --- a/include/boost/container/list.hpp +++ b/include/boost/container/list.hpp @@ -119,7 +119,7 @@ class list_const_iterator { return this->m_it->m_data; } const_pointer operator->() const - { return ::boost::intrusive::pointer_traits::to_pointer(this->m_it->m_data); } + { return ::boost::intrusive::pointer_traits::pointer_to(this->m_it->m_data); } //Increment / Decrement list_const_iterator& operator++()