Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
157ef4b2cd
  1. 4
      src/policy_cache.hpp

4
src/policy_cache.hpp

@ -29,7 +29,7 @@ class PolicyCache
{ {
public: public:
typedef std::unordered_map<std::string,std::string> Map; typedef std::unordered_map<std::string,std::string> Map;
public: public:
PolicyCache() PolicyCache()
: _max_size(256) : _max_size(256)
@ -55,7 +55,7 @@ public:
return &i->second; return &i->second;
} }
void void
erase(const char *key_) erase(const char *key_)
{ {

Loading…
Cancel
Save