[layout] Use is_source_of instead of is_iterator

This commit is contained in:
Behdad Esfahbod 2022-07-06 12:37:43 -06:00
parent 0dc0da054d
commit 8a971d01e9
1 changed files with 3 additions and 3 deletions

View File

@ -1926,7 +1926,7 @@ struct ClassDefFormat1
}
template<typename Iterator,
hb_requires (hb_is_sorted_iterator (Iterator))>
hb_requires (hb_is_sorted_source_of (Iterator, hb_codepoint_t))>
bool serialize (hb_serialize_context_t *c,
Iterator it)
{
@ -2138,7 +2138,7 @@ struct ClassDefFormat2
}
template<typename Iterator,
hb_requires (hb_is_sorted_iterator (Iterator))>
hb_requires (hb_is_sorted_source_of (Iterator, hb_codepoint_t))>
bool serialize (hb_serialize_context_t *c,
Iterator it)
{
@ -2411,7 +2411,7 @@ struct ClassDef
}
template<typename Iterator,
hb_requires (hb_is_sorted_iterator (Iterator))>
hb_requires (hb_is_sorted_source_of (Iterator, hb_codepoint_t))>
bool serialize (hb_serialize_context_t *c, Iterator it_with_class_zero)
{
TRACE_SERIALIZE (this);