forked from mirrors/0ad
Fixes typo in pool allocator stats, based on patch from Echelon9. Fixes #1061.
This was SVN commit r10799.
This commit is contained in:
@@ -539,7 +539,7 @@ public:
|
||||
m_totalDeallocatedBlocks++;
|
||||
m_totalDeallocatedBytes += size;
|
||||
ENSURE(m_totalDeallocatedBlocks <= m_totalAllocatedBlocks);
|
||||
ENSURE(m_totalDeallocatedBytes <= m_totalDeallocatedBytes);
|
||||
ENSURE(m_totalDeallocatedBytes <= m_totalAllocatedBytes);
|
||||
|
||||
ENSURE(m_currentExtantBlocks != 0);
|
||||
ENSURE(m_currentExtantBytes >= size);
|
||||
|
||||
Reference in New Issue
Block a user