|
|
@@ -19,8 +19,11 @@ StackAllocator::StackAllocator(void* start, uint32_t size)
|
|
|
|
|
|
StackAllocator::~StackAllocator()
|
|
|
{
|
|
|
- CE_ASSERT(_allocation_count == 0 && total_allocated() == 0,
|
|
|
- "Missing %d deallocations causing a leak of %d bytes", _allocation_count, total_allocated());
|
|
|
+ CE_ASSERT(_allocation_count == 0 && total_allocated() == 0
|
|
|
+ , "Missing %d deallocations causing a leak of %d bytes"
|
|
|
+ , _allocation_count
|
|
|
+ , total_allocated()
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
void* StackAllocator::allocate(uint32_t size, uint32_t align)
|