diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-06-19 17:13:59 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-06-19 17:13:59 +0000 |
commit | cb126215aa371c10e3b10fa70044d9edc385a768 (patch) | |
tree | 7cd742517861ceaf5bcbe34fedb9e1d625202388 | |
parent | c41133728d1a4197b8d0a366854b73d161788d20 (diff) | |
download | external_libcxx-cb126215aa371c10e3b10fa70044d9edc385a768.tar.gz external_libcxx-cb126215aa371c10e3b10fa70044d9edc385a768.tar.bz2 external_libcxx-cb126215aa371c10e3b10fa70044d9edc385a768.zip |
Fix ASAN bot; missing bookkeeping in r240136.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@240139 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/memory | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/memory b/include/memory index 4c3a18c99..7763c1972 100644 --- a/include/memory +++ b/include/memory @@ -4076,6 +4076,7 @@ private: { __e->__weak_this_.__ptr_ = const_cast<_Yp*>(static_cast<const _Yp*>(__e)); __e->__weak_this_.__cntrl_ = __cntrl_; + __cntrl_->__add_weak(); } } |