media_server: Adapt to new HashMap API.

This commit is contained in:
Augustin Cavalier 2019-02-14 20:47:13 -05:00
parent b7598b65ba
commit b6adef8501
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ BufferManager::CleanupTeam(team_id team)
PRINT(1, "BufferManager::CleanupTeam: removing buffer id %" PRINT(1, "BufferManager::CleanupTeam: removing buffer id %"
B_PRId32 " that has no teams\n", entry.key.GetHashCode()); B_PRId32 " that has no teams\n", entry.key.GetHashCode());
_ReleaseClonedArea(entry.value.area); _ReleaseClonedArea(entry.value.area);
iterator.Remove(); fBufferInfoMap.Remove(iterator);
} }
} }
} }