mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 04:16:59 -05:00
policy_cache.hpp
This commit is contained in:
parent
806dc4bb24
commit
90b00eb352
1 changed files with 3 additions and 3 deletions
|
|
@ -70,11 +70,11 @@ public:
|
|||
}
|
||||
|
||||
const
|
||||
nonstd::optional<std::string>
|
||||
find(std::string const &key_)
|
||||
char*
|
||||
find(std::string const &key_) const
|
||||
{
|
||||
uint64_t hash;
|
||||
nonstd::optional<std::string> rv;
|
||||
const char *rv;
|
||||
|
||||
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
|
||||
_cache.cvisit(hash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue