policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-14 23:34:53 -05:00
parent 6b5acef108
commit de2d997ab0

View File

@ -96,7 +96,11 @@ public:
void
erase(std::string const &key_)
{
_cache.erase(key_);
uint64_t hash;
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
_cache.erase(hash);
}
private: