Index: thread.hpp =================================================================== --- thread.hpp (revision 79164) +++ thread.hpp (working copy) @@ -582,6 +582,7 @@ } #endif +#if defined BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 inline bool thread::operator==(const thread& other) const { return get_id()==other.get_id(); @@ -591,6 +592,7 @@ { return get_id()!=other.get_id(); } +#endif namespace detail {