From 8654df7b0ed86d91223a349955f2d6d4cbf8805b Mon Sep 17 00:00:00 2001 From: Darragh Coy Date: Tue, 24 Sep 2013 21:01:30 +0100 Subject: [PATCH] Remove Hungarian notation. Remove Hungarian notation in fix made for memory leak in Set::removeAllObjects(). --- cocos2dx/cocoa/CCSet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2dx/cocoa/CCSet.cpp b/cocos2dx/cocoa/CCSet.cpp index a2cccff017..c3c24e0e5e 100644 --- a/cocos2dx/cocoa/CCSet.cpp +++ b/cocos2dx/cocoa/CCSet.cpp @@ -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; } }