From bc09128c6e650af57d62535d64d9c92bdf841a83 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 15 May 2005 02:38:04 +0000 Subject: [PATCH] Work-around CW-8.3 failure because it can't decide between by-value or copy constructor for an iterator range. [SVN r28918] --- include/boost/algorithm/string/detail/finder.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/algorithm/string/detail/finder.hpp b/include/boost/algorithm/string/detail/finder.hpp index e6513a3..d35bf44 100644 --- a/include/boost/algorithm/string/detail/finder.hpp +++ b/include/boost/algorithm/string/detail/finder.hpp @@ -516,7 +516,11 @@ namespace boost { ForwardIterator2T, ForwardIterator2T ) const { + #if BOOST_WORKAROUND( __MWERKS__, <= 0x3003 ) + return iterator_range(this->m_Range); + #else return m_Range; + #endif } private: