Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82795 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2013-02-09 09:05:55


Author: viboes
Date: 2013-02-09 09:05:55 EST (Sat, 09 Feb 2013)
New Revision: 82795
URL: http://svn.boost.org/trac/boost/changeset/82795

Log:
Thread: fix synchronized_value move constructor.
Text files modified:
   trunk/boost/thread/synchronized_value.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/synchronized_value.hpp
==============================================================================
--- trunk/boost/thread/synchronized_value.hpp (original)
+++ trunk/boost/thread/synchronized_value.hpp 2013-02-09 09:05:55 EST (Sat, 09 Feb 2013)
@@ -274,7 +274,7 @@
     synchronized_value(BOOST_THREAD_RV_REF(synchronized_value) other)
     {
       strict_lock<lockable_type> lk(other.mtx_);
- value_= boost::move(other);
+ value_= boost::move(other.value);
     }
 
     /**


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