Add missing return

This commit is contained in:
AsamK 2015-10-31 15:13:47 +01:00
parent 3c70c5cc82
commit f06d150f86

View File

@ -161,9 +161,11 @@ void FixedAllocator::deallocate(void *p)
uint32_t FixedAllocator::currentSize() const
{
uint32_t res = 0 ;
for(uint32_t i=0;i<_chunks.size();++i)
res += (_numBlocks - _chunks[i]->_blocksAvailable) * _blockSize ;
res += (_numBlocks - _chunks[i]->_blocksAvailable) * _blockSize ;
return res ;
}
void FixedAllocator::printStatistics() const
{