policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-15 07:40:00 -05:00
parent 2b31a7cb9b
commit 0ab48b1a12

View file

@ -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_);