Ticket #7052: boost_1_50_0_thread_no_depr_feat_v3.patch

File boost_1_50_0_thread_no_depr_feat_v3.patch, 480 bytes (added by pekka.seppanen@…, 10 years ago)

Do not define thread::operator== and thread::operator!= unless deprecated features are explicitly requested.

  • thread.hpp

     
    582582    }
    583583#endif
    584584
     585#if defined BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0
    585586    inline bool thread::operator==(const thread& other) const
    586587    {
    587588        return get_id()==other.get_id();
     
    591592    {
    592593        return get_id()!=other.get_id();
    593594    }
     595#endif
    594596
    595597    namespace detail
    596598    {