Merge pull request #169 from AsamK/add_missing_return

Add missing return
This commit is contained in:
Cyril Soler 2015-10-31 13:32:19 -04:00
commit f9e61ddfa5

View File

@ -163,7 +163,9 @@ 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
{