mirror of
https://github.com/boostorg/thread.git
synced 2026-01-30 08:22:13 +00:00
Thread: fix synchronized_value move constructor.
[SVN r82795]
This commit is contained in:
@@ -274,7 +274,7 @@ namespace boost
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user