From 1173ed1f7f401b0f21bacc0f35c4a18f6947a99d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 16 Jan 2022 07:48:02 -0700 Subject: [PATCH] Try fix Mac build 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 118c421d7..e29d6ea62 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -212,10 +212,10 @@ struct HB_FUNCOBJ (hb_bool); template -T hb_coerce (const T v) { return v; } +HB_INTERNAL T hb_coerce (const T v) { return v; } template , hb_decay) && std::is_pointer::value)> -T hb_coerce (const V v) { return *v; } +HB_INTERNAL T hb_coerce (const V v) { return *v; } struct {