[map] Try to work around old Mac compiler bug
Maybe fixes https://github.com/harfbuzz/harfbuzz/issues/4138
This commit is contained in:
parent
e359f46a20
commit
67e01c1292
|
@ -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_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue