forked from OSchip/llvm-project
parent
6b88dae046
commit
9c973b9f62
|
@ -3559,7 +3559,7 @@ template <class _Tp, class _Dp, class _Alloc>
|
|||
const void*
|
||||
__shared_ptr_pointer<_Tp, _Dp, _Alloc>::__get_deleter(const type_info& __t) const _NOEXCEPT
|
||||
{
|
||||
return __t == typeid(_Dp) ? _VSTD::addressof(__data_.first().second()) : 0;
|
||||
return __t == typeid(_Dp) ? _VSTD::addressof(__data_.first().second()) : nullptr;
|
||||
}
|
||||
|
||||
#endif // _LIBCPP_NO_RTTI
|
||||
|
|
|
@ -120,7 +120,7 @@ __shared_weak_count::lock() _NOEXCEPT
|
|||
object_owners+1))
|
||||
return this;
|
||||
}
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#if !defined(_LIBCPP_NO_RTTI) || !defined(_LIBCPP_BUILD_STATIC)
|
||||
|
@ -128,7 +128,7 @@ __shared_weak_count::lock() _NOEXCEPT
|
|||
const void*
|
||||
__shared_weak_count::__get_deleter(const type_info&) const _NOEXCEPT
|
||||
{
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#endif // _LIBCPP_NO_RTTI
|
||||
|
|
Loading…
Reference in New Issue