minor edit
This commit is contained in:
parent
eebc21c8de
commit
93739242e1
|
@ -170,8 +170,7 @@ struct hb_map_t
|
||||||
|
|
||||||
void clear ()
|
void clear ()
|
||||||
{
|
{
|
||||||
if (items)
|
if (items) memset (items, 0xFF, ((size_t) mask + 1) * sizeof (item_t));
|
||||||
memset (items, 0xFF, ((size_t) mask + 1) * sizeof (item_t));
|
|
||||||
population = occupancy = 0;
|
population = occupancy = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue