Ticket #11490: boost_1_58_0.patch

File boost_1_58_0.patch, 552 bytes (added by Philippe Leuba <pleuba@…>, 7 years ago)

Patch

  • boost/lockfree/spsc_queue.hpp

    diff -uNr boost_1_58_0/boost/lockfree/spsc_queue.hpp boost_1_58_0_patched/boost/lockfree/spsc_queue.hpp
    old new  
    606606
    607607    size_type pop(T * ret, size_type size)
    608608    {
    609         return ringbuffer_base<T>::pop(ret, size, array_, max_elements_);
     609        return ringbuffer_base<T>::pop(ret, size, &*array_, max_elements_);
    610610    }
    611611
    612612    template <typename OutputIterator>