From 5257905cee135d5e04c0592aedc30d3670afeb91 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 00:08:11 -0600 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index dbee1ee0..f922b9e9 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -58,7 +58,9 @@ public: rv = v; }; - _cache.visit(key_, [] + _cache.visit(key_,func); + + return rv; } void