Ticket #9218: dcas_msvc_debug.patch

File dcas_msvc_debug.patch, 410 bytes (added by Gavin Lambert <gavinl@…>, 9 years ago)

Ensures pointer is initialised to null rather than 0xCCCCCCCC

  • boost/lockfree/detail/tagged_ptr_dcas.hpp

    a b  
    2424    typedef std::size_t tag_t;
    2525
    2626    /** uninitialized constructor */
    27     tagged_ptr(void) BOOST_NOEXCEPT//: ptr(0), tag(0)
     27    tagged_ptr(void) BOOST_NOEXCEPT: ptr(0)//, tag(0)
    2828    {}
    2929
    3030#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS