[set] Minor
This commit is contained in:
parent
64c32edfe1
commit
8d55e2adef
|
@ -368,8 +368,8 @@ struct hb_set_t
|
||||||
if (!resize (count))
|
if (!resize (count))
|
||||||
return;
|
return;
|
||||||
population = other->population;
|
population = other->population;
|
||||||
memcpy (pages.arrayZ(), other->pages.arrayZ(), count * sizeof (pages.arrayZ()[0]));
|
memcpy (pages.arrayZ(), other->pages.arrayZ(), count * sizeof (pages[0]));
|
||||||
memcpy (page_map.arrayZ(), other->page_map.arrayZ(), count * sizeof (page_map.arrayZ()[0]));
|
memcpy (page_map.arrayZ(), other->page_map.arrayZ(), count * sizeof (page_map[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool is_equal (const hb_set_t *other) const
|
inline bool is_equal (const hb_set_t *other) const
|
||||||
|
|
Loading…
Reference in New Issue