[map] Minor
diff --git a/src/hb-map-private.hh b/src/hb-map-private.hh index 07d5d0d..7611021 100644 --- a/src/hb-map-private.hh +++ b/src/hb-map-private.hh
@@ -132,12 +132,11 @@ return; /* Trying to delete non-existent key. */ /* Accounting. */ - if (items[i].is_tombstone ()) - occupancy--; - else if (!items[i].is_unused ()) + if (!items[i].is_unused ()) { - population--; occupancy--; + if (items[i].value != INVALID) + population--; } occupancy++; if (value != INVALID)