mirror of https://github.com/axmolengine/axmol.git
Fixed compile error with CC_REF_LEAK_DETECTION
This commit is contained in:
parent
c1caa8515c
commit
c1f85bac0e
|
@ -189,7 +189,7 @@ static void untrackRef(Ref* ref)
|
|||
__refAllocationList.erase(iter);
|
||||
}
|
||||
|
||||
#endif // #if CC_USE_MEM_LEAK_DETECTION
|
||||
#endif // #if CC_REF_LEAK_DETECTION
|
||||
|
||||
|
||||
NS_CC_END
|
||||
|
|
|
@ -146,8 +146,8 @@ public:
|
|||
void* _scriptObject;
|
||||
#endif
|
||||
|
||||
// Memory leak diagnostic data (only included when CC_USE_MEM_LEAK_DETECTION is defined and its value isn't zero)
|
||||
#if CC_USE_MEM_LEAK_DETECTION
|
||||
// Memory leak diagnostic data (only included when CC_REF_LEAK_DETECTION is defined and its value isn't zero)
|
||||
#if CC_REF_LEAK_DETECTION
|
||||
public:
|
||||
static void printLeaks();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue