Remove unneeded assignment to null in RefPtr::release
This commit is contained in:
parent
2052b225d9
commit
0051a4f896
|
@ -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]]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user