policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-22 00:12:03 -06:00
parent db734db764
commit 29479d78d9

View File

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