Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-10-24 08:00:14


Author: anthonyw
Date: 2007-10-24 08:00:14 EDT (Wed, 24 Oct 2007)
New Revision: 40412
URL: http://svn.boost.org/trac/boost/changeset/40412

Log:
updated thread move semantics to work with Borland
Text files modified:
   trunk/libs/thread/src/win32/thread.cpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/src/win32/thread.cpp
==============================================================================
--- trunk/libs/thread/src/win32/thread.cpp (original)
+++ trunk/libs/thread/src/win32/thread.cpp 2007-10-24 08:00:14 EDT (Wed, 24 Oct 2007)
@@ -184,12 +184,13 @@
         
     thread::operator boost::move_t<thread>()
     {
- return boost::move_t<thread>(*this);
+ return move();
     }
 
     boost::move_t<thread> thread::move()
     {
- return boost::move_t<thread>(*this);
+ boost::move_t<thread> x(*this);
+ return x;
     }
 
     void thread::swap(thread& x)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk