Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
19ee057525
  1. 7
      src/policy_cache.hpp

7
src/policy_cache.hpp

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

Loading…
Cancel
Save