Ticket #3593: range2.diff

File range2.diff, 946 bytes (added by rwebb <richard.webb@…>, 13 years ago)
  • boost/range/adaptor/adjacent_filtered.hpp

     
    116116                                {
    117117                                        if (default_pass)
    118118                                        {
    119                                                 raw_iterator nxt = next(it);
     119                                                raw_iterator nxt = boost::next(it);
    120120                                                while (nxt != last && !bi_pred(*it, *nxt))
    121121                                                {
    122122                                                        ++it;
     
    125125                                        }
    126126                                        else
    127127                                        {
    128                                                 raw_iterator nxt = next(it);
     128                                                raw_iterator nxt = boost::next(it);
    129129                                                for(; nxt != last; ++it, ++nxt)
    130130                                                {
    131131                                                        if (bi_pred(*it, *nxt))
     
    155155                        {
    156156                                BOOST_ASSERT( current != this->end().base() );
    157157
    158                                 current = to_valid(next(current), this->end().base(), m_bi_pred, m_default_pass);
     158                                current = to_valid(boost::next(current), this->end().base(), m_bi_pred, m_default_pass);
    159159                        }
    160160
    161161                private: