mirror of https://github.com/axmolengine/axmol.git
Remove Hungarian notation.
Remove Hungarian notation in fix made for memory leak in Set::removeAllObjects().
This commit is contained in:
parent
c0706a3141
commit
8654df7b0e
|
@ -121,9 +121,9 @@ void Set::removeAllObjects()
|
|||
|
||||
tmp = it;
|
||||
++tmp;
|
||||
Object * pObject = *it;
|
||||
Object * obj = *it;
|
||||
_set->erase(it);
|
||||
CC_SAFE_RELEASE(pObject);
|
||||
CC_SAFE_RELEASE(obj);
|
||||
it = tmp;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue