diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index b40f5295..48978156 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -70,7 +70,7 @@ public: nonstd::optional rv; hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp); - _cache.cvisit(key_, + _cache.cvisit(hash, [&](Map::value_type const &v_) { fmt::print("get {}={}\n",