summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/shared_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/shared_ptr.h')
-rw-r--r--libstdc++-v3/include/bits/shared_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/shared_ptr.h b/libstdc++-v3/include/bits/shared_ptr.h
index f96c07835b6..2413b1b8e10 100644
--- a/libstdc++-v3/include/bits/shared_ptr.h
+++ b/libstdc++-v3/include/bits/shared_ptr.h
@@ -588,7 +588,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
const enable_shared_from_this* __pe,
const _Tp1* __px) noexcept
{
- if (__pe != 0)
+ if (__pe != nullptr)
__pe->_M_weak_assign(const_cast<_Tp1*>(__px), __pn);
}