[map] Minor

pull/1040/head
Behdad Esfahbod 7 years ago
parent 686476a8ae
commit b6959c33e2
  1. 7
      src/hb-map-private.hh

@ -132,12 +132,11 @@ struct hb_map_t
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)

Loading…
Cancel
Save