Remove unneeded assignment to null in RefPtr::release

This commit is contained in:
Maxime Coste 2017-01-29 14:26:41 +00:00
parent 2052b225d9
commit 0051a4f896

View File

@ -99,7 +99,6 @@ private:
{ {
if (m_ptr) if (m_ptr)
Policy::dec_ref(m_ptr, this); Policy::dec_ref(m_ptr, this);
m_ptr = nullptr;
} }
[[gnu::always_inline]] [[gnu::always_inline]]