From 3336de24790ac1a12852ac2a3e2fff4d6bb19bc7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Aug 2018 15:41:25 -0700 Subject: [PATCH] [cmap] Remove unused code --- src/hb-ot-cmap-table.hh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index a767354..bf9874a 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -1039,8 +1039,6 @@ struct cmap typedef bool (*hb_cmap_get_glyph_func_t) (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyph); - typedef void (*hb_cmap_collect_unicodes_func_t) (const void *obj, - hb_set_t *out); template static inline bool get_glyph_from (const void *obj, @@ -1052,14 +1050,6 @@ struct cmap } template - static inline void collect_unicodes_from (const void *obj, - hb_set_t *out) - { - const Type *typed_obj = (const Type *) obj; - typed_obj->collect_unicodes (out); - } - - template static inline bool get_glyph_from_symbol (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyph) -- 2.7.4