mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-01 17:46:52 -04:00
Merge branch 'master' of https://github.com/RetroShare/RetroShare
This commit is contained in:
commit
c4563dbb96
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue