[map] Correct previous commit, if (...) was reversed.

This commit is contained in:
Garret Rieger 2022-01-14 16:20:31 -08:00 committed by Behdad Esfahbod
parent ff4e8c7eac
commit e30511a8de
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ struct hb_hashmap_t
} }
void fini_shallow () void fini_shallow ()
{ {
if (unlikely (!items)) { if (likely (items)) {
unsigned size = mask + 1; unsigned size = mask + 1;
for (unsigned i = 0; i < size; i++) for (unsigned i = 0; i < size; i++)
items[i].~item_t (); items[i].~item_t ();