diff --git a/src/hb-ot-map.hh b/src/hb-ot-map.hh index 31a44c766..efc8cae96 100644 --- a/src/hb-ot-map.hh +++ b/src/hb-ot-map.hh @@ -92,11 +92,11 @@ struct hb_ot_map_t { hb_memset (this, 0, sizeof (*this)); - features.init (); + features.init0 (); for (unsigned int table_index = 0; table_index < 2; table_index++) { - lookups[table_index].init (); - stages[table_index].init (); + lookups[table_index].init0 (); + stages[table_index].init0 (); } } void fini () diff --git a/src/hb-vector.hh b/src/hb-vector.hh index e6bb7d22e..f55ec4643 100644 --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -84,6 +84,9 @@ struct hb_vector_t allocated = length = 0; arrayZ = nullptr; } + void init0 () + { + } void fini () {