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
964673ac30
commit
cda94881ca
1 changed files with 6 additions and 2 deletions
|
|
@ -49,9 +49,13 @@ public:
|
|||
nonstd::optional<std::string>
|
||||
find(std::string const key_)
|
||||
{
|
||||
std::string rv;
|
||||
nonstd::optional<std::string> rv;
|
||||
|
||||
_cache.visit(key_,[](Map::value_type &v){});
|
||||
_cache.visit(key_,
|
||||
[](Map::value_type &v_)
|
||||
{
|
||||
rv = v_;
|
||||
});
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue