Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
de2d997ab0
  1. 6
      src/policy_cache.hpp

6
src/policy_cache.hpp

@ -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…
Cancel
Save