commit | a6a062df66fe49704bd074464af30bf8c3db6ea5 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Wed Jun 02 18:20:39 2010 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Wed Jun 02 18:20:39 2010 +0000 |
tree | 9d20a752e744f2835c26e30b8996e7f9cad8d0f7 | |
parent | 4b53f508efcd857b2dddeff092a8509def5bc6bd [diff] [blame] |
[string.conversions] git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105336 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/thread b/include/thread index 16faed9..5fcd2c9 100644 --- a/include/thread +++ b/include/thread
@@ -265,10 +265,10 @@ thread& thread::operator=(thread&& __t) { - if (__t_ != nullptr) + if (__t_ != 0) terminate(); __t_ = __t.__t_; - __t.__t_ = nullptr; + __t.__t_ = 0; return *this; }