From 7485b8fc9e7120aba17c6bc5999d588a4fea4617 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 00:22:40 -0600 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 185e110a..f78d8524 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -52,7 +52,7 @@ public: nonstd::optional rv; _cache.visit(key_, - [](Map::value_type &v_) + [&](Map::value_type &v_) { rv = v_; });