mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-26 02:09:52 +08:00
policy_cache.hpp
This commit is contained in:
parent
be91baae32
commit
5ee6a72ec8
|
@ -30,15 +30,6 @@
|
|||
|
||||
class PolicyCache
|
||||
{
|
||||
public:
|
||||
struct Value
|
||||
{
|
||||
Value();
|
||||
|
||||
uint64_t time;
|
||||
StrVec paths;
|
||||
};
|
||||
|
||||
public:
|
||||
PolicyCache(void);
|
||||
|
||||
|
@ -58,5 +49,5 @@ public:
|
|||
|
||||
private:
|
||||
pthread_mutex_t _lock;
|
||||
std::map<std::string,Value> _cache;
|
||||
std::unordered_map<std::string,Value> _cache;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user