From ccf23fa273fcfe68f4664005d55f840953539dc7 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 24 Oct 2007 12:00:14 +0000 Subject: [PATCH] updated thread move semantics to work with Borland [SVN r40412] --- src/win32/thread.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)