diff --git a/src/hb-meta.hh b/src/hb-meta.hh index 15c38bbc8..f67623136 100644 --- a/src/hb-meta.hh +++ b/src/hb-meta.hh @@ -41,8 +41,8 @@ struct hb_empty_t {}; template struct _hb_void_t { typedef void type; }; template using hb_void_t = typename _hb_void_t::type; -template struct _hb_head_tt { typedef Head type; }; -template using hb_head_tt = typename _hb_head_tt::type; +template struct _hb_head_t { typedef Head type; }; +template using hb_head_t = typename _hb_head_t::type; template struct hb_integral_constant { static constexpr T value = v; }; template using hb_bool_constant = hb_integral_constant; @@ -64,7 +64,7 @@ template struct hb_is_same : hb_true_type {}; /* Function overloading SFINAE and priority. */ -#define HB_RETURN(Ret, E) -> hb_head_tt { return (E); } +#define HB_RETURN(Ret, E) -> hb_head_t { return (E); } #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } #define HB_VOID_RETURN(E) -> hb_void_t { (E); }