[subset/cff] Inline type only used once

pull/4270/head
Behdad Esfahbod 1 year ago
parent 2960d13f1b
commit a55d0b8866
  1. 2
      src/hb-cff-interp-common.hh
  2. 2
      src/hb-ot-cff1-table.hh

@ -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

@ -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)

Loading…
Cancel
Save