Ticket #4759: shared_ptr_operator_bool.patch

File shared_ptr_operator_bool.patch, 511 bytes (added by abrarov@…, 12 years ago)

Suggested patch

  • boost/smart_ptr/detail/operator_bool.hpp

     
    66//  See accompanying file LICENSE_1_0.txt or copy at
    77//  http://www.boost.org/LICENSE_1_0.txt
    88
    9 #if ( defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, < 0x570) ) || defined(__CINT__)
     9#if ( defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, < 0x570) ) || defined(__CINT__) || defined (BOOST_INTEL)
    1010
    1111    operator bool () const
    1212    {