Boost.Range correct the adjacent_filtered adaptor to be resilient accident argument dependent lookup of boost::next

[SVN r61024]
This commit is contained in:
Neil Groves
2010-04-03 19:28:03 +00:00
parent 22c72c53eb
commit 690ebf406e

View File

@ -116,7 +116,7 @@ namespace boost
{
if (default_pass)
{
raw_iterator nxt = next(it);
raw_iterator nxt = ::boost::next(it);
while (nxt != last && !bi_pred(*it, *nxt))
{
++it;
@ -125,7 +125,7 @@ namespace boost
}
else
{
raw_iterator nxt = next(it);
raw_iterator nxt = ::boost::next(it);
for(; nxt != last; ++it, ++nxt)
{
if (bi_pred(*it, *nxt))
@ -155,7 +155,7 @@ namespace boost
{
BOOST_ASSERT( current != this->end().base() );
current = to_valid(next(current), this->end().base(), m_bi_pred, m_default_pass);
current = to_valid(::boost::next(current), this->end().base(), m_bi_pred, m_default_pass);
}
private: