|
|
|
@ -489,12 +489,8 @@ struct hb_set_t |
|
|
|
|
return; |
|
|
|
|
population = other.population; |
|
|
|
|
|
|
|
|
|
if (!count) |
|
|
|
|
// memcpy is not necessary if the vectors are zero length. This avoids possibly
|
|
|
|
|
// passing nullptr to memcpy.
|
|
|
|
|
return; |
|
|
|
|
memcpy ((void *) pages, (const void *) other.pages, count * pages.item_size); |
|
|
|
|
memcpy ((void *) page_map, (const void *) other.page_map, count * page_map.item_size); |
|
|
|
|
hb_memcpy ((void *) pages, (const void *) other.pages, count * pages.item_size); |
|
|
|
|
hb_memcpy ((void *) page_map, (const void *) other.page_map, count * page_map.item_size); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool is_equal (const hb_set_t &other) const |
|
|
|
|