[subset-input] Simplify destruction
This commit is contained in:
parent
d5b826fd09
commit
32866a331e
|
@ -86,12 +86,11 @@ struct hb_subset_input_t
|
||||||
|
|
||||||
~hb_subset_input_t ()
|
~hb_subset_input_t ()
|
||||||
{
|
{
|
||||||
for (auto& set : sets_iter ())
|
sets.~sets_t ();
|
||||||
set = hb::shared_ptr<hb_set_t> ();
|
|
||||||
|
|
||||||
#ifdef HB_EXPERIMENTAL_API
|
#ifdef HB_EXPERIMENTAL_API
|
||||||
for (auto _ : name_table_overrides)
|
for (auto _ : name_table_overrides.values ())
|
||||||
_.second.fini ();
|
_.fini ();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue