Ticket #8874: boost-1.54.0-unordered-unused_typedef.patch

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

A fix.

  • boost_1_54_0/boost/unordered/detail/unique.hpp

    diff -up boost_1_54_0/boost/unordered/detail/unique.hpp\~ boost_1_54_0/boost/unordered/detail/unique.hpp
    old new namespace boost { namespace unordered {  
    334334
    335335        value_type& operator[](key_type const& k)
    336336        {
    337             typedef typename value_type::second_type mapped_type;
    338    
    339337            std::size_t key_hash = this->hash(k);
    340338            iterator pos = this->find_node(key_hash, k);
    341339