mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-29 03:48:23 +08:00
policy_cache.hpp
This commit is contained in:
parent
0834b17e69
commit
e8b50f3610
|
@ -63,7 +63,7 @@ public:
|
||||||
|
|
||||||
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
||||||
token = strpool_inject(&_strpool,val_.c_str(),val_.size());
|
token = strpool_inject(&_strpool,val_.c_str(),val_.size());
|
||||||
ptr
|
ptr = strpool_cstr(&_strpool,token);
|
||||||
_cache.insert_or_assign(hash,val_);
|
_cache.insert_or_assign(hash,val_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user