Ticket #3285: boost-05.patch

File boost-05.patch, 562 bytes (added by gerickson@…, 13 years ago)

Boost::Circular_Buffer Patch for Explicit Invocation of Parent in Copy Constructor

  • boost/circular_buffer/base.hpp

    a b  
    10671083             Linear (in the size of <code>cb</code>).
    10681084    */
    10691085    circular_buffer(const circular_buffer<T, Alloc>& cb)
    1070     : m_size(cb.size()), m_alloc(cb.get_allocator()) {
     1086    :
     1087#if BOOST_CB_ENABLE_DEBUG
     1088        debug_iterator_registry(),
     1089#endif
     1090    m_size(cb.size()), m_alloc(cb.get_allocator()) {
    10711091        initialize_buffer(cb.capacity());
    10721092        m_first = m_buff;
    10731093        BOOST_TRY {