Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
e52c4d9dc3
  1. 6
      src/policy_cache.hpp

6
src/policy_cache.hpp

@ -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…
Cancel
Save