Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
29479d78d9
  1. 3
      src/policy_cache.hpp

3
src/policy_cache.hpp

@ -50,12 +50,11 @@ public:
find(char const *key_) find(char const *key_)
{ {
nonstd::optional<std::string> nonstd::optional<std::string>
std::string rv ;
auto func = auto func =
[&](const auto &v) [&](const auto &v)
{ {
rv = &v;
rv = v;
}; };
_cache.visit(key_,func); _cache.visit(key_,func);

Loading…
Cancel
Save