From eaeb0f94150e4c49686d0988d8399074bcadfe99 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 10 Mar 2024 22:53:49 -0500 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 2b7c4981..4aace38d 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -62,8 +62,8 @@ public: { nonstd::optional rv; - _cache.visit(key_, - [&](Map::value_type &v_) + _cache.cvisit(key_, + [&](Map::value_type const &v_) { rv = v_.second; });