From f7a9c3ea9324caf83eaacd65a7493470d09198a3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 5 Aug 2021 13:05:07 -0600 Subject: [PATCH] [open-file] Use hb_is_source_of instead of hb_is_iterator --- src/hb-open-file.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh index 317c49bbb..6eee5827c 100644 --- a/src/hb-open-file.hh +++ b/src/hb-open-file.hh @@ -119,7 +119,7 @@ typedef struct OpenTypeOffsetTable public: template + hb_requires ((hb_is_source_of>::value))> bool serialize (hb_serialize_context_t *c, hb_tag_t sfnt_tag, Iterator it) @@ -493,7 +493,7 @@ struct OpenTypeFontFile } template + hb_requires ((hb_is_source_of>::value))> bool serialize_single (hb_serialize_context_t *c, hb_tag_t sfnt_tag, Iterator items)