1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

LruCache: Add workaround for GCC 15.2 bug

This commit is contained in:
reuk 2025-10-14 12:48:11 +01:00
parent 8daab60325
commit 7aa7f49a8c
No known key found for this signature in database

View file

@ -74,7 +74,7 @@ public:
++insertionCounter; ++insertionCounter;
while (list.size() >= maxEntries) while (map.size() >= maxEntries)
{ {
const auto toRemove = list.begin(); const auto toRemove = list.begin();
map.erase (*toRemove); map.erase (*toRemove);