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 {