Ticket #8851: boost-unordered-patch.diff

File boost-unordered-patch.diff, 526 bytes (added by alex@…, 9 years ago)

patch that fixes the bug

  • boost/unordered/detail/table.hpp

    diff --git boost/unordered/detail/table.hpp boost/unordered/detail/table.hpp
    index a4c875c..9cfa3da 100644
    namespace boost { namespace unordered { namespace detail {  
    455455
    456456        void swap_allocators(table& other, false_type)
    457457        {
     458            (void)other;
    458459            // According to 23.2.1.8, if propagate_on_container_swap is
    459460            // false the behaviour is undefined unless the allocators
    460461            // are equal.