[map] Try to work around old Mac compiler bug

Maybe fixes https://github.com/harfbuzz/harfbuzz/issues/4138
This commit is contained in:
Behdad Esfahbod 2023-03-01 20:07:38 -07:00
parent e359f46a20
commit 67e01c1292
1 changed files with 4 additions and 2 deletions

View File

@ -317,12 +317,14 @@ struct hb_hashmap_t
hb_copy (other, *this); hb_copy (other, *this);
} }
void keys (hb_set_t &keys_) const template <typename Iterable>
void keys (Iterable &keys_) const
{ {
hb_copy (keys() , keys_); hb_copy (keys() , keys_);
} }
void values (hb_set_t &values_) const template <typename Iterable>
void values (Iterable &values_) const
{ {
hb_copy (values() , values_); hb_copy (values() , values_);
} }