diff --git a/src/hb-map.hh b/src/hb-map.hh index 615d1825e..b718f1657 100644 --- a/src/hb-map.hh +++ b/src/hb-map.hh @@ -317,12 +317,14 @@ struct hb_hashmap_t hb_copy (other, *this); } - void keys (hb_set_t &keys_) const + template + void keys (Iterable &keys_) const { hb_copy (keys() , keys_); } - void values (hb_set_t &values_) const + template + void values (Iterable &values_) const { hb_copy (values() , values_); }