From 19793f333b14208daecc911f4f6979ff7d393391 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 16 Jan 2022 07:49:40 -0700 Subject: [PATCH] Better try at previous commit https://github.com/harfbuzz/harfbuzz/commit/985b63b3eeee5be1f5234fc7f13077eacf5e5b94#commitcomment-63973544 --- src/hb-algs.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index e29d6ea62..adac4a07b 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -212,10 +212,10 @@ struct HB_FUNCOBJ (hb_bool); template -HB_INTERNAL T hb_coerce (const T v) { return v; } +inline T hb_coerce (const T v) { return v; } template , hb_decay) && std::is_pointer::value)> -HB_INTERNAL T hb_coerce (const V v) { return *v; } +inline T hb_coerce (const V v) { return *v; } struct {