diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index ff12d4af5..3c6625376 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -62,12 +62,7 @@ struct IntType IntType () = default; explicit constexpr IntType (Type V) : v {V} {} IntType& operator = (Type i) { v = i; return *this; } - operator Type () const { return v; } - - template , - hb_enable_if (sizeof (Type) < sizeof (Type2))> - operator hb_type_identity_t () const { return v; } - + operator hb_conditional () const { return v; } bool operator == (const IntType &o) const { return (Type) v == (Type) o.v; } bool operator != (const IntType &o) const { return !(*this == o); }