mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-17 04:42:46 +08:00
policy_cache.hpp
This commit is contained in:
parent
1edf89ca5a
commit
54a175a7e4
|
@ -67,7 +67,7 @@ public:
|
|||
cleanup()
|
||||
{
|
||||
while(_cache.size() > _max_size)
|
||||
_cache.erase((_cache.size() & 1) ? _cache.begin() : _cache.rbegin());
|
||||
_cache.erase(_cache.begin());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue
Block a user