// thread& operator=(thread&& t);
-#include <boost/thread/thread.hpp>
+#include <boost/thread/thread_only.hpp>
#include <new>
#include <cstdlib>
#include <boost/detail/lightweight_test.hpp>
void operator()()
{
BOOST_TEST(alive_ == 1);
- BOOST_TEST(n_alive == 1);
+ //BOOST_TEST(n_alive == 1);
op_run = true;
}
}
}
-void remove_unused_warning()
-{
- //../../../boost/system/error_code.hpp:214:36: warning: Ôboost::system::posix_categoryÕ defined but not used [-Wunused-variable]
- //../../../boost/system/error_code.hpp:215:36: warning: Ôboost::system::errno_ecatÕ defined but not used [-Wunused-variable]
- //../../../boost/system/error_code.hpp:216:36: warning: Ôboost::system::native_ecatÕ defined but not used [-Wunused-variable]
-
- (void)boost::system::posix_category;
- (void)boost::system::errno_ecat;
- (void)boost::system::native_ecat;
-
-}
+#include "../../../remove_error_code_unused_warning.hpp"