From 7aa7f49a8cf3b3cf299af97d7bc5f0016225d727 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 14 Oct 2025 12:48:11 +0100 Subject: [PATCH] LruCache: Add workaround for GCC 15.2 bug --- modules/juce_core/detail/juce_LruCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/detail/juce_LruCache.h b/modules/juce_core/detail/juce_LruCache.h index 901a9bfcf3..1a9d84c58d 100644 --- a/modules/juce_core/detail/juce_LruCache.h +++ b/modules/juce_core/detail/juce_LruCache.h @@ -74,7 +74,7 @@ public: ++insertionCounter; - while (list.size() >= maxEntries) + while (map.size() >= maxEntries) { const auto toRemove = list.begin(); map.erase (*toRemove);