Ticket #6332: 6332.patch

File 6332.patch, 577 bytes (added by Braden McDaniel <braden@…>, 11 years ago)

Patch

  • boost/smart_ptr/weak_ptr.hpp

     
    1717#include <boost/smart_ptr/detail/shared_count.hpp>
    1818#include <boost/smart_ptr/shared_ptr.hpp>
    1919
    20 #ifdef BOOST_MSVC  // moved here to work around VC++ compiler crash
     20#if BOOST_WORKAROUND(BOOST_MSVC, < 1600)   // moved here to work around VC++ compiler crash
    2121# pragma warning(push)
    2222# pragma warning(disable:4284) // odd return type for operator->
    2323#endif