Browse Source

policy_cache.hpp

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

2
src/policy_cache.hpp

@ -70,7 +70,7 @@ public:
nonstd::optional<std::string> rv; nonstd::optional<std::string> rv;
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp); hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
_cache.cvisit(key_,
_cache.cvisit(hash,
[&](Map::value_type const &v_) [&](Map::value_type const &v_)
{ {
fmt::print("get {}={}\n", fmt::print("get {}={}\n",

Loading…
Cancel
Save