mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 00:32:59 +00:00
[subset/cff] Inline type only used once
This commit is contained in:
parent
2960d13f1b
commit
a55d0b8866
2 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue