mirror of
https://github.com/boostorg/thread.git
synced 2026-01-28 07:42:12 +00:00
updated thread move semantics to work with Borland
[SVN r40412]
This commit is contained in:
@@ -184,12 +184,13 @@ namespace boost
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user