policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-22 00:09:31 -06:00
parent 5257905cee
commit e52c4d9dc3

View File

@ -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);