diff --git a/contrib/epee/include/cache_helper.h b/contrib/epee/include/cache_helper.h index 6a5c475a..b85ecdad 100644 --- a/contrib/epee/include/cache_helper.h +++ b/contrib/epee/include/cache_helper.h @@ -120,6 +120,7 @@ namespace epee { most_recent_accessed.erase(it->second.second); most_recent_accessed.push_front(k); + it->second.first = v; it->second.second = most_recent_accessed.begin(); }