2
0
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:
Anthony Williams
2007-10-24 12:00:14 +00:00
parent f701defc5f
commit ccf23fa273

View File

@@ -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)