mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[subset-input] Simplify destruction
This commit is contained in:
1 parent
d5b826fd09
commit
32866a331e
1 file changed
+3
-4
@@ -86,12 +86,11 @@ struct hb_subset_input_t
|
||||
|
||||
~hb_subset_input_t ()
|
||||
{
|
||||
for (auto& set : sets_iter ())
|
||||
set = hb::shared_ptr<hb_set_t> ();
|
||||
sets.~sets_t ();
|
||||
|
||||
#ifdef HB_EXPERIMENTAL_API
|
||||
for (auto _ : name_table_overrides)
|
||||
_.second.fini ();
|
||||
for (auto _ : name_table_overrides.values ())
|
||||
_.fini ();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user