mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-18 15:22:44 +08:00
policy_cache.hpp
This commit is contained in:
parent
5257905cee
commit
e52c4d9dc3
|
@ -51,11 +51,13 @@ public:
|
|||
std::string*
|
||||
find(char const *key_)
|
||||
{
|
||||
std::string rv;
|
||||
std::string *rv ;
|
||||
|
||||
rv = nullptr;
|
||||
auto func =
|
||||
[&](const auto &v)
|
||||
{
|
||||
rv = v;
|
||||
rv = &v;
|
||||
};
|
||||
|
||||
_cache.visit(key_,func);
|
||||
|
|
Loading…
Reference in New Issue
Block a user