mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[subset/cff1] Remove unnecessary remap_sid_t::reset
The object is initialized automatically.
This commit is contained in:
1 parent
6ed0d04b69
commit
c03c0a9d76
1 file changed
-9
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user