mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-29 12:03:59 +08:00
policy_cache.hpp
This commit is contained in:
parent
db734db764
commit
29479d78d9
|
@ -50,12 +50,11 @@ public:
|
|||
find(char const *key_)
|
||||
{
|
||||
nonstd::optional<std::string>
|
||||
std::string rv ;
|
||||
|
||||
auto func =
|
||||
[&](const auto &v)
|
||||
{
|
||||
rv = &v;
|
||||
rv = v;
|
||||
};
|
||||
|
||||
_cache.visit(key_,func);
|
||||
|
|
Loading…
Reference in New Issue
Block a user