[map] Minor
This commit is contained in:
parent
686476a8ae
commit
b6959c33e2
@ -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…
Reference in New Issue
Block a user