From 2a9c00f5b2f9c1dafdc4991bd347291d92b878f7 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 18 Apr 2004 12:23:53 +0000 Subject: [PATCH] Work around CW bug; see http://lists.boost.org/MailArchives/boost/msg57316.php. [SVN r22655] --- include/boost/iterator/iterator_facade.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/iterator/iterator_facade.hpp b/include/boost/iterator/iterator_facade.hpp index 0e10fc4..358e2c8 100644 --- a/include/boost/iterator/iterator_facade.hpp +++ b/include/boost/iterator/iterator_facade.hpp @@ -417,12 +417,12 @@ namespace boost Derived& derived() { - return static_cast(*this); + return *static_cast(this); } Derived const& derived() const { - return static_cast(*this); + return *static_cast(this); } typedef detail::iterator_facade_types<