diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 8cec62ec..b3870850 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -51,12 +51,6 @@ public: { nonstd::optional rv; - auto func = - [&](std::string &v_) - { - rv = v_; - }; - _cache.visit(key_, [&](std::string &v_) {