From a55d0b88662c01471f254a452650703586820b4e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 6 Jun 2023 17:13:09 -0600 Subject: [PATCH] [subset/cff] Inline type only used once --- src/hb-cff-interp-common.hh | 2 -- src/hb-ot-cff1-table.hh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 1cb342ad3..1d1f10f2b 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -338,8 +338,6 @@ struct byte_str_ref_t hb_ubytes_t str; }; -using byte_str_array_t = hb_vector_t; - /* stack */ template struct cff_stack_t diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index e100d94fb..fd25c6b20 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -649,7 +649,7 @@ struct CFF1StringIndex : CFF1Index if (unlikely (sidmap.in_error ())) return_trace (false); - byte_str_array_t bytesArray; + hb_vector_t bytesArray; if (!bytesArray.resize (sidmap.get_population ())) return_trace (false); for (auto _ : sidmap)