mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
policy_cache.hpp
This commit is contained in:
parent
2da1c20b88
commit
acfc06a495
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public:
|
|||
{
|
||||
if(_cache.size() > _max_size)
|
||||
_cache.erase(_cache.begin());
|
||||
return &_cache.insert({key_,val_}).first.second;
|
||||
return &_cache.insert({key_,val_}).first->second;
|
||||
}
|
||||
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue