policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci
2024-03-15 07:39:46 -05:00
parent 64926b69f6
commit 2b31a7cb9b
+1 -1
View File
@@ -64,7 +64,7 @@ public:
uint64_t hash;
STRPOOL_U64 token;
key = key_;
key = std::string(key_);
hash = wyhash(key_,keylen_,0xdeadbeef,_wyp);
_cache.insert_or_assign(hash,val_);