From da9fd3a0d3a25421f9d1ed4a652a33345dc74ba4 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 18:13:02 -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 4b76858e..09dce7c5 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -43,7 +43,7 @@ public: { _cache.visit_while([&](Map::value_type &v_) { - return false; + return (_cache.size() > _max_size); }); _cache.insert_or_assign(key_,val_);