From e1838ec1f863758bdd3fa33dce8bf8bfb7fa1518 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 9 May 2022 16:14:13 -0600 Subject: [PATCH] [cff-common] Remove unused method --- src/hb-ot-cff-common.hh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 7500615bb..882ffcba0 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -53,16 +53,7 @@ struct code_pair_t }; typedef hb_vector_t str_buff_t; -struct str_buff_vec_t : hb_vector_t -{ - unsigned int total_size () const - { - return + this->iter () - | hb_map (&str_buff_t::length) - | hb_reduce (hb_add, 0) - ; - } -}; +struct str_buff_vec_t : hb_vector_t {}; /* CFF INDEX */ template