Ticket #7722: shared_count.patch

File shared_count.patch, 616 bytes (added by romuloceccon@…, 10 years ago)
  • boost/smart_ptr/detail/shared_count.hpp

     
    3535// rather than including <memory> directly:
    3636#include <boost/config/no_tr1/memory.hpp>  // std::auto_ptr
    3737#include <functional>       // std::less
    38 #include <new>              // std::bad_alloc
     38#ifdef BOOST_NO_EXCEPTIONS
     39# include <new>             // std::bad_alloc
     40#endif
    3941
    4042#if !defined( BOOST_NO_CXX11_SMART_PTR )
    4143# include <boost/utility/addressof.hpp>