(ObjectRef) Removed useless assignation

Former-commit-id: 8e7b3c75ba9a50b99dfbb6656f2c8c97db4b27a7
This commit is contained in:
Lynix 2015-01-29 14:43:19 +01:00
parent 8eef78293d
commit 993b2e4145
1 changed files with 0 additions and 3 deletions

View File

@ -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)