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 {