mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[cpp] Fix up debug output.
This commit is contained in:
parent
a986469e07
commit
ac03e51d0b
@ -62,7 +62,7 @@ namespace spine {
|
|||||||
it->second.address);
|
it->second.address);
|
||||||
}
|
}
|
||||||
printf("allocations: %zu, reallocations: %zu, frees: %zu\n", _allocations, _reallocations, _frees);
|
printf("allocations: %zu, reallocations: %zu, frees: %zu\n", _allocations, _reallocations, _frees);
|
||||||
if (_allocated.empty()) printf("No leaks detected");
|
if (_allocated.empty()) printf("No leaks detected\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearAllocations() {
|
void clearAllocations() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user