mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
policy_cache.hpp
This commit is contained in:
parent
1bbe293450
commit
f50494da73
1 changed files with 2 additions and 1 deletions
|
|
@ -37,8 +37,9 @@
|
|||
class PolicyCache
|
||||
{
|
||||
public:
|
||||
typedef uint64_t Key;
|
||||
typedef boost::flyweight<std::string> Val;
|
||||
typedef boost::concurrent_flat_map<uint64_t,const char*> Map;
|
||||
typedef boost::concurrent_flat_map<Key,Val> Map;
|
||||
|
||||
public:
|
||||
PolicyCache(unsigned const max_size_ = 256)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue