From 0ab48b1a12104a00105d01e87e158903ccd1789e Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 15 Mar 2024 07:40:00 -0500 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 433e54a4..2e66c6bf 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -64,7 +64,7 @@ public: uint64_t hash; STRPOOL_U64 token; - key = std::string(key_); + val = val_; hash = wyhash(key_,keylen_,0xdeadbeef,_wyp); _cache.insert_or_assign(hash,val_);