From acfc06a49522f06d04caa22b41a745aceb5d3f43 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 16 Feb 2024 00:12:31 -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 bfc51af2..dad7a5f9 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.second; + return &_cache.insert({key_,val_}).first->second; } const