[string.conversions]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -265,10 +265,10 @@ inline
|
||||
thread&
|
||||
thread::operator=(thread&& __t)
|
||||
{
|
||||
if (__t_ != nullptr)
|
||||
if (__t_ != 0)
|
||||
terminate();
|
||||
__t_ = __t.__t_;
|
||||
__t.__t_ = nullptr;
|
||||
__t.__t_ = 0;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user