From: Behdad Esfahbod Date: Tue, 23 Oct 2018 04:49:42 +0000 (-0700) Subject: Unbreak builds X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c78ced95b639730efd0edc521e4e81ad50af501;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Unbreak builds --- diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh index 11a0550..7e84616 100644 --- a/src/hb-dsalgs.hh +++ b/src/hb-dsalgs.hh @@ -537,7 +537,7 @@ struct hb_array_t T *arrayZ; unsigned int len; }; -template +template static inline hb_array_t hb_array (T *array, unsigned int len) { return hb_array_t (array, len); } struct hb_bytes_t diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index a76b111..2b1b432 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -386,10 +386,10 @@ struct UnsizedArrayOf DEFINE_SIZE_ARRAY (0, arrayZ); }; } /* namespace OT */ -template +template static inline hb_array_t hb_array (OT::UnsizedArrayOf &array, unsigned int len) { return hb_array (array.arrayZ, len); } -template +template static inline hb_array_t hb_array (const OT::UnsizedArrayOf &array, unsigned int len) { return hb_array (array.arrayZ, len); } namespace OT {