diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 69e18897..051bc5d3 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -52,7 +52,7 @@ public: nonstd::optional rv; auto func = - [&](const nonstd::optional &v_) + [&](const std::string &v_) { rv = v_; };