mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
policy_cache.hpp
This commit is contained in:
+1
-10
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user