From 8c78ced95b639730efd0edc521e4e81ad50af501 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 22 Oct 2018 21:49:42 -0700 Subject: [PATCH] Unbreak builds --- src/hb-dsalgs.hh | 2 +- src/hb-open-type.hh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh index 11a055068..7e846161d 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 a76b111ee..2b1b432ba 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 {