Unbreak builds
This commit is contained in:
parent
8d689f8a7b
commit
8c78ced95b
|
@ -537,7 +537,7 @@ struct hb_array_t
|
|||
T *arrayZ;
|
||||
unsigned int len;
|
||||
};
|
||||
template <typename T>
|
||||
template <typename T> static inline
|
||||
hb_array_t<T> hb_array (T *array, unsigned int len) { return hb_array_t<T> (array, len); }
|
||||
|
||||
struct hb_bytes_t
|
||||
|
|
|
@ -386,10 +386,10 @@ struct UnsizedArrayOf
|
|||
DEFINE_SIZE_ARRAY (0, arrayZ);
|
||||
};
|
||||
} /* namespace OT */
|
||||
template <typename T>
|
||||
template <typename T> static inline
|
||||
hb_array_t<T> hb_array (OT::UnsizedArrayOf<T> &array, unsigned int len)
|
||||
{ return hb_array (array.arrayZ, len); }
|
||||
template <typename T>
|
||||
template <typename T> static inline
|
||||
hb_array_t<const T> hb_array (const OT::UnsizedArrayOf<T> &array, unsigned int len)
|
||||
{ return hb_array (array.arrayZ, len); }
|
||||
namespace OT {
|
||||
|
|
Loading…
Reference in New Issue