From 0b879afb5abda0af4624dd2cedf609acb4d17c87 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 7 Jul 2023 22:35:43 -0600 Subject: [PATCH] [sanitize] Inline Coverage::sanitize --- src/OT/Layout/Common/Coverage.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/OT/Layout/Common/Coverage.hh b/src/OT/Layout/Common/Coverage.hh index 9ca88f788..25056c9bc 100644 --- a/src/OT/Layout/Common/Coverage.hh +++ b/src/OT/Layout/Common/Coverage.hh @@ -57,6 +57,9 @@ struct Coverage public: DEFINE_SIZE_UNION (2, format); +#ifndef HB_OPTIMIZE_SIZE + HB_ALWAYS_INLINE +#endif bool sanitize (hb_sanitize_context_t *c) const { TRACE_SANITIZE (this);