Ticket #8878: boost-1.54.0-locale-unused_typedef.patch

File boost-1.54.0-locale-unused_typedef.patch, 748 bytes (added by Petr Machata <pmachata@…>, 9 years ago)

A fix.

  • boost/locale/boundary/segment.hpp

    diff -urp boost_1_54_0-orig/boost/locale/boundary/segment.hpp boost_1_54_0/boost/locale/boundary/segment.hpp
    old new namespace boundary {  
    2727        int compare_text(LeftIterator l_begin,LeftIterator l_end,RightIterator r_begin,RightIterator r_end)
    2828        {
    2929            typedef LeftIterator left_iterator;
    30             typedef RightIterator right_iterator;
    3130            typedef typename std::iterator_traits<left_iterator>::value_type char_type;
    3231            typedef std::char_traits<char_type> traits;
    3332            while(l_begin!=l_end && r_begin!=r_end) {