From 97babea6d770afd907388943b5f338f12925797b Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 14 Feb 2019 20:43:23 -0500 Subject: [PATCH] app_server: Adapt to new HashMap API. --- src/servers/app/font/FontCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/font/FontCache.cpp b/src/servers/app/font/FontCache.cpp index da7298ae03..ad33289b91 100644 --- a/src/servers/app/font/FontCache.cpp +++ b/src/servers/app/font/FontCache.cpp @@ -154,7 +154,7 @@ FontCache::_ConstrainEntryCount() iterator = fFontCacheEntries.GetIterator(); while (iterator.HasNext()) { if (iterator.Next().value == leastUsedEntry) { - iterator.Remove(); + fFontCacheEntries.Remove(iterator); leastUsedEntry->ReleaseReference(); break; }