mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 12:26:34 -05:00
policy_cache.hpp
This commit is contained in:
parent
ea75aa16d7
commit
099950f5ca
1 changed files with 6 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
class PolicyCache
|
||||
{
|
||||
public:
|
||||
typedef boost::concurrent_flat_map<uint64_t,std::string> Map;
|
||||
typedef boost::concurrent_flat_map<uint64_t,> Map;
|
||||
|
||||
public:
|
||||
PolicyCache(unsigned const max_size_ = 256)
|
||||
|
|
@ -43,6 +43,11 @@ public:
|
|||
strpool_init(&_strpool,&config);
|
||||
}
|
||||
|
||||
~PolicyCache()
|
||||
{
|
||||
strpool_term(&_strpool);
|
||||
}
|
||||
|
||||
public:
|
||||
void
|
||||
insert(std::string const &key_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue