mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
policy_cache.hpp
This commit is contained in:
parent
7bbef9e5ae
commit
1f92060085
1 changed files with 2 additions and 2 deletions
|
|
@ -54,6 +54,7 @@ public:
|
|||
std::string const &val_)
|
||||
{
|
||||
uint64_t hash;
|
||||
STRPOOL_U64 key;
|
||||
const char *val;
|
||||
|
||||
fmt::print("insert {}={}\n",
|
||||
|
|
@ -61,8 +62,7 @@ public:
|
|||
val_);
|
||||
|
||||
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
||||
|
||||
|
||||
val =
|
||||
_cache.insert_or_assign(hash,val_);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue