diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 5c46c8bf..66aba312 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -46,12 +46,12 @@ public: } const - std::string + nonstd::optional find(char const *key_) { + nonstd::optional std::string rv ; - rv = nullptr; auto func = [&](const auto &v) {