policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-22 00:08:04 -06:00
parent 416aa54185
commit a3f9323467

View File

@ -51,13 +51,14 @@ public:
std::string*
find(char const *key_)
{
Map::const_iterator i;
i = _cache.find(key_);
if(i == _cache.end())
return NULL;
return &i->second;
std::string rv;
auto func =
[&](const auto &v)
{
rv = v;
};
_cache.visit(key_, []
}
void