Try fix Mac build

985b63b3ee (commitcomment-63973544)
This commit is contained in:
Behdad Esfahbod 2022-01-16 07:48:02 -07:00
parent c0f57ccc88
commit 1173ed1f7f
1 changed files with 2 additions and 2 deletions

View File

@ -212,10 +212,10 @@ struct
HB_FUNCOBJ (hb_bool);
template <typename T>
T hb_coerce (const T v) { return v; }
HB_INTERNAL T hb_coerce (const T v) { return v; }
template <typename T, typename V,
hb_enable_if (!hb_is_same (hb_decay<T>, hb_decay<V>) && std::is_pointer<V>::value)>
T hb_coerce (const V v) { return *v; }
HB_INTERNAL T hb_coerce (const V v) { return *v; }
struct
{