[string.conversions]

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2010-06-02 18:20:39 +00:00
parent 4b53f508ef
commit a6a062df66
16 changed files with 2037 additions and 76 deletions

View File

@@ -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;
}