Ticket #8546: algorithm.patch

File algorithm.patch, 1.8 KB (added by Chris Stylianou <chris5287@…>, 9 years ago)
  • boost/algorithm/string/detail/finder.hpp

     
    142142                    ForwardIteratorT End,
    143143                    std::forward_iterator_tag ) const
    144144                {
    145                     typedef ForwardIteratorT input_iterator_type;
    146145                    typedef iterator_range<ForwardIteratorT> result_type;
    147146
    148147                    first_finder_type first_finder(
     
    263262                    ForwardIteratorT End,
    264263                    unsigned int N) const
    265264                {
    266                     typedef ForwardIteratorT input_iterator_type;
    267265                    typedef iterator_range<ForwardIteratorT> result_type;
    268266
    269267                    // Sanity check
     
    298296                    ForwardIteratorT End,
    299297                    unsigned int N) const
    300298                {
    301                     typedef ForwardIteratorT input_iterator_type;
    302299                    typedef iterator_range<ForwardIteratorT> result_type;
    303300
    304301                    // Sanity check
     
    362359                unsigned int N,
    363360                std::random_access_iterator_tag )
    364361            {
    365                 typedef ForwardIteratorT input_iterator_type;
    366362                typedef iterator_range<ForwardIteratorT> result_type;
    367363
    368364                if ( (End<=Begin) || ( static_cast<unsigned int>(End-Begin) < N ) )
     
    436432                unsigned int N,
    437433                std::random_access_iterator_tag )
    438434            {
    439                 typedef ForwardIteratorT input_iterator_type;
    440435                typedef iterator_range<ForwardIteratorT> result_type;
    441436
    442437                if ( (End<=Begin) || ( static_cast<unsigned int>(End-Begin) < N ) )