[subset/cff] Inline type only used once

This commit is contained in:
Behdad Esfahbod 2023-06-06 17:13:09 -06:00
parent 2960d13f1b
commit a55d0b8866
2 changed files with 1 additions and 3 deletions

View file

@ -338,8 +338,6 @@ struct byte_str_ref_t
hb_ubytes_t str;
};
using byte_str_array_t = hb_vector_t<hb_ubytes_t>;
/* stack */
template <typename ELEM, int LIMIT>
struct cff_stack_t

View file

@ -649,7 +649,7 @@ struct CFF1StringIndex : CFF1Index
if (unlikely (sidmap.in_error ())) return_trace (false);
byte_str_array_t bytesArray;
hb_vector_t<hb_ubytes_t> bytesArray;
if (!bytesArray.resize (sidmap.get_population ()))
return_trace (false);
for (auto _ : sidmap)