policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-14 20:07:34 -05:00
parent 688803d97a
commit 19ee057525

View file

@ -93,6 +93,13 @@ public:
return rv;
}
void
erase(std::string const &key_)
{
_cache.erase(key_);
}
private:
unsigned _max_size;
Map _cache;