Browse Source

policy_cache.hpp

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

6
src/policy_cache.hpp

@ -70,11 +70,11 @@ public:
}
const
nonstd::optional<std::string>
find(std::string const &key_)
char*
find(std::string const &key_) const
{
uint64_t hash;
nonstd::optional<std::string> rv;
const char *rv;
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
_cache.cvisit(hash,

Loading…
Cancel
Save