Browse Source

policy_cache.hpp

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

7
src/policy_cache.hpp

@ -32,7 +32,7 @@
class PolicyCache
{
public:
typedef boost::concurrent_flat_map<uint64_t,std::string> Map;
typedef boost::concurrent_flat_map<uint64_t,> Map;
public:
PolicyCache(unsigned const max_size_ = 256)
@ -43,6 +43,11 @@ public:
strpool_init(&_strpool,&config);
}
~PolicyCache()
{
strpool_term(&_strpool);
}
public:
void
insert(std::string const &key_,

Loading…
Cancel
Save