parent
ea9ee7effa
commit
cf55299017
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class DataBlockCache {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto& ba = mb.blocks;
|
auto& ba = mb.blocks;
|
||||||
size += (ba.size() - std::count(ba.begin(), ba.end(), nullptr)) * factory.GetBlockSize();
|
size -= (ba.size() - std::count(ba.begin(), ba.end(), nullptr)) * factory.GetBlockSize();
|
||||||
|
|
||||||
ba.clear();
|
ba.clear();
|
||||||
age.erase(mb.position);
|
age.erase(mb.position);
|
||||||
|
|
Loading…
Reference in a new issue