diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index ba971307..b40f5295 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -66,8 +66,10 @@ public: nonstd::optional find(std::string const &key_) { + uint64_t hash; nonstd::optional rv; + hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp); _cache.cvisit(key_, [&](Map::value_type const &v_) {