This commit is contained in:
Behdad Esfahbod 2018-07-10 14:01:39 +02:00
parent 763f878cc0
commit 39f11d8e72
1 changed files with 2 additions and 2 deletions

View File

@ -656,7 +656,7 @@ struct CrapOrNull<const Type> {
/* arrays and maps */ /* arrays and maps */
#define HB_PREALLOCED_ARRAY_INIT {0, 0, nullptr} #define HB_VECTOR_INIT {0, 0, false, nullptr}
template <typename Type, unsigned int StaticSize=8> template <typename Type, unsigned int StaticSize=8>
struct hb_vector_t struct hb_vector_t
{ {
@ -875,7 +875,7 @@ template <typename Type>
struct hb_auto_array_t : hb_auto_t <hb_vector_t <Type> > {}; struct hb_auto_array_t : hb_auto_t <hb_vector_t <Type> > {};
#define HB_LOCKABLE_SET_INIT {HB_PREALLOCED_ARRAY_INIT} #define HB_LOCKABLE_SET_INIT {HB_VECTOR_INIT}
template <typename item_t, typename lock_t> template <typename item_t, typename lock_t>
struct hb_lockable_set_t struct hb_lockable_set_t
{ {