policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-15 19:45:38 -06:00
parent be91baae32
commit 5ee6a72ec8

View File

@ -30,15 +30,6 @@
class PolicyCache class PolicyCache
{ {
public:
struct Value
{
Value();
uint64_t time;
StrVec paths;
};
public: public:
PolicyCache(void); PolicyCache(void);
@ -58,5 +49,5 @@ public:
private: private:
pthread_mutex_t _lock; pthread_mutex_t _lock;
std::map<std::string,Value> _cache; std::unordered_map<std::string,Value> _cache;
}; };