mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-25 09:41:43 +08:00
policy_cache.hpp
This commit is contained in:
parent
6b5acef108
commit
de2d997ab0
|
@ -96,7 +96,11 @@ public:
|
|||
void
|
||||
erase(std::string const &key_)
|
||||
{
|
||||
_cache.erase(key_);
|
||||
uint64_t hash;
|
||||
|
||||
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
||||
|
||||
_cache.erase(hash);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue
Block a user