diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index 1b3b7207..2110c038 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -184,12 +184,13 @@ namespace boost thread::operator boost::move_t() { - return boost::move_t(*this); + return move(); } boost::move_t thread::move() { - return boost::move_t(*this); + boost::move_t x(*this); + return x; } void thread::swap(thread& x)