From 587487811bf4603aeacc4efc4371c6da79e09b4c Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Fri, 23 Dec 2011 03:54:36 +0000 Subject: [PATCH] Fixes typo in pool allocator stats, based on patch from Echelon9. Fixes #1061. This was SVN commit r10799. --- source/lib/allocators/headerless.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/allocators/headerless.cpp b/source/lib/allocators/headerless.cpp index 7b1f738e0a..f29a1e6d3d 100644 --- a/source/lib/allocators/headerless.cpp +++ b/source/lib/allocators/headerless.cpp @@ -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);