Index: libs/thread/test/test_thread_move_return.cpp =================================================================== --- libs/thread/test/test_thread_move_return.cpp (revision 63088) +++ libs/thread/test/test_thread_move_return.cpp (working copy) @@ -13,7 +13,7 @@ boost::thread make_thread_move_return(boost::thread::id* the_id) { boost::thread t(do_nothing,the_id); - return boost::move(t); + boost::thread(boost::move(t)); } void test_move_from_function_move_return()