Better try at previous commit

985b63b3ee (commitcomment-63973544)
pull/3380/head
Behdad Esfahbod 3 years ago
parent 1173ed1f7f
commit 19793f333b
  1. 4
      src/hb-algs.hh

@ -212,10 +212,10 @@ struct
HB_FUNCOBJ (hb_bool);
template <typename T>
HB_INTERNAL T hb_coerce (const T v) { return v; }
inline 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)>
HB_INTERNAL T hb_coerce (const V v) { return *v; }
inline T hb_coerce (const V v) { return *v; }
struct
{

Loading…
Cancel
Save