提交 8c78ced9 编写于 作者: B Behdad Esfahbod

Unbreak builds

上级 8d689f8a
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册