[set] Minor

This commit is contained in:
Behdad Esfahbod committed 2018-10-25 16:37:53 -07:00
1 parent 64c32edfe1
commit 8d55e2adef
1 file changed
+2 -2
+2 -2
View File
@@ -368,8 +368,8 @@ struct hb_set_t
if (!resize (count))
return;
population = other->population;
memcpy (pages.arrayZ(), other->pages.arrayZ(), count * sizeof (pages.arrayZ()[0]));
memcpy (page_map.arrayZ(), other->page_map.arrayZ(), count * sizeof (page_map.arrayZ()[0]));
memcpy (pages.arrayZ(), other->pages.arrayZ(), count * sizeof (pages[0]));
memcpy (page_map.arrayZ(), other->page_map.arrayZ(), count * sizeof (page_map[0]));
}
inline bool is_equal (const hb_set_t *other) const