mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 21:34:10 -05:00
Add missing return
This commit is contained in:
parent
3c70c5cc82
commit
f06d150f86
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user