[map] Fix iter

This commit is contained in:
Behdad Esfahbod 2019-05-08 15:05:10 -07:00
parent 5ceaafa5de
commit 3c69505b3a

View File

@ -212,7 +212,7 @@ struct hb_hashmap_t
*/ */
auto iter () const HB_AUTO_RETURN auto iter () const HB_AUTO_RETURN
( (
+ hb_array (items, mask + 1) + hb_array (items, mask ? mask + 1 : 0)
| hb_filter (&item_t::is_real) | hb_filter (&item_t::is_real)
| hb_map (&item_t::get_pair) | hb_map (&item_t::get_pair)
) )