From ef91f2f62774a88d7cfe2b35baad1b0feb9e836c Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 18:09:41 -0600 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 424c387f..4c7041fa 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -41,6 +41,8 @@ public: insert(std::string const &key_, std::string &val_) { + auto i = _cache.begin(); + _cache.insert_or_assign(key_,val_); }