diff --git a/src/hb-sanitize.hh b/src/hb-sanitize.hh index 8d9ecce8d..efb5adde5 100644 --- a/src/hb-sanitize.hh +++ b/src/hb-sanitize.hh @@ -382,6 +382,9 @@ struct hb_sanitize_context_t : } template +#ifndef HB_OPTIMIZE_SIZE + HB_ALWAYS_INLINE +#endif bool check_struct (const Type *obj) const { if (sizeof (uintptr_t) == sizeof (uint32_t))