mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 03:47:02 -05:00
policy_cache.hpp
This commit is contained in:
parent
db734db764
commit
29479d78d9
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue