From efcbd242293c72e3118d4128ac66991357914ec3 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Fri, 3 Nov 2000 04:25:13 +0000 Subject: [PATCH] port to Codewarrior 6.0 [SVN r8107] --- include/boost/pending/iterator_adaptors.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/pending/iterator_adaptors.hpp b/include/boost/pending/iterator_adaptors.hpp index 996c510..0215b67 100644 --- a/include/boost/pending/iterator_adaptors.hpp +++ b/include/boost/pending/iterator_adaptors.hpp @@ -227,7 +227,13 @@ public: { return *(*this + n); } Self& operator++() { +#ifdef __MWERKS__ + // Odd bug, MWERKS couldn't deduce the type for the member template + // Workaround by explicitly specifying the type. + policies().increment(iter()); +#else policies().increment(iter()); +#endif return *this; }