Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
f2fb0df4d4
  1. 3
      src/policy_cache.hpp

3
src/policy_cache.hpp

@ -23,6 +23,7 @@
#include <cstdint> #include <cstdint>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <boost/unordered/unordered_flat_map.hpp>
class PolicyCache class PolicyCache
@ -78,5 +79,5 @@ public:
private: private:
unsigned _max_size; unsigned _max_size;
std::unordered_map<std::string,std::string> _cache;
boost::unordered_flat_map<std::string,std::string> _cache;
}; };
Loading…
Cancel
Save