diff --git a/src/hb-private.hh b/src/hb-private.hh index 5131ddeda..c4fae17b6 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -656,7 +656,7 @@ struct CrapOrNull { /* arrays and maps */ -#define HB_PREALLOCED_ARRAY_INIT {0, 0, nullptr} +#define HB_VECTOR_INIT {0, 0, false, nullptr} template struct hb_vector_t { @@ -875,7 +875,7 @@ template struct hb_auto_array_t : hb_auto_t > {}; -#define HB_LOCKABLE_SET_INIT {HB_PREALLOCED_ARRAY_INIT} +#define HB_LOCKABLE_SET_INIT {HB_VECTOR_INIT} template struct hb_lockable_set_t {