From be87959a67b8ccf2b21d3cfdb7d16202f18df670 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Oct 2018 15:16:38 -0700 Subject: [PATCH] [cmap] Minor --- src/hb-ot-cmap-table.hh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index d5b4fde34..f0dbef69c 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -851,18 +851,6 @@ struct cmap struct subset_plan { - subset_plan(void) - { - format4_segments.init(); - format12_groups.init(); - } - - ~subset_plan(void) - { - format4_segments.fini(); - format12_groups.fini(); - } - inline size_t final_size() const { return 4 // header @@ -872,9 +860,9 @@ struct cmap } // Format 4 - hb_vector_t format4_segments; + hb_auto_t > format4_segments; // Format 12 - hb_vector_t format12_groups; + hb_auto_t > format12_groups; }; inline bool sanitize (hb_sanitize_context_t *c) const