fix: accidently enable memory-leak debug test
This commit is contained in:
1 parent
c54a61b97a
commit
8c69bfb042
1 file changed
+2
-2
@@ -50,10 +50,10 @@ int main(int argc, char* argv[])
|
||||
|
||||
}
|
||||
|
||||
//#ifdef BT_DEBUG_MEMORY_ALLOCATIONS
|
||||
#ifdef BT_DEBUG_MEMORY_ALLOCATIONS
|
||||
int numBytesLeaked = btDumpMemoryLeaks();
|
||||
btAssert(numBytesLeaked==0);
|
||||
//#endif//BT_DEBUG_MEMORY_ALLOCATIONS
|
||||
#endif//BT_DEBUG_MEMORY_ALLOCATIONS
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user