mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 16:50:38 +00:00
[subset/cff1] Remove unnecessary remap_sid_t::reset
The object is initialized automatically.
This commit is contained in:
parent
6ed0d04b69
commit
c03c0a9d76
1 changed files with 0 additions and 9 deletions
|
@ -42,13 +42,6 @@ struct remap_sid_t
|
|||
{
|
||||
unsigned get_population () const { return map.get_population (); }
|
||||
|
||||
void reset ()
|
||||
{
|
||||
map.reset ();
|
||||
vector.resize (0);
|
||||
next = 0;
|
||||
}
|
||||
|
||||
void resize (unsigned size)
|
||||
{
|
||||
map.resize (size);
|
||||
|
@ -598,8 +591,6 @@ struct cff1_subset_plan
|
|||
|
||||
bool collect_sids_in_dicts (const OT::cff1::accelerator_subset_t &acc)
|
||||
{
|
||||
sidmap.reset ();
|
||||
|
||||
for (unsigned int i = 0; i < name_dict_values_t::ValCount; i++)
|
||||
{
|
||||
unsigned int sid = acc.topDict.nameSIDs[i];
|
||||
|
|
Loading…
Add table
Reference in a new issue