From 2da1c20b8877b1bf1a25dda242e034c2f427f9fd Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 16 Feb 2024 00:12:13 -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 54d68d2d..bfc51af2 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -45,7 +45,7 @@ public: { if(_cache.size() > _max_size) _cache.erase(_cache.begin()); - return &_cache.insert({key_,val_}).first; + return &_cache.insert({key_,val_}).first.second; } const