(ObjectRef) Removed useless assignation
Former-commit-id: 8e7b3c75ba9a50b99dfbb6656f2c8c97db4b27a7
This commit is contained in:
parent
8eef78293d
commit
993b2e4145
|
|
@ -76,10 +76,7 @@ bool NzObjectRef<T>::Reset(T* object)
|
|||
if (m_object != object)
|
||||
{
|
||||
if (m_object)
|
||||
{
|
||||
destroyed = m_object->RemoveReference();
|
||||
m_object = nullptr;
|
||||
}
|
||||
|
||||
m_object = object;
|
||||
if (m_object)
|
||||
|
|
|
|||
Loading…
Reference in New Issue