diff --git a/src/hb-null.hh b/src/hb-null.hh index 725db5024..674b4dffc 100644 --- a/src/hb-null.hh +++ b/src/hb-null.hh @@ -46,13 +46,13 @@ * https://stackoverflow.com/questions/7776448/sfinae-tried-with-bool-gives-compiler-error-template-argument-tvalue-invol */ -template +template struct _hb_null_size : hb_integral_constant {}; template -struct _hb_null_size> : hb_integral_constant {}; +struct _hb_null_size> : hb_integral_constant {}; template -using hb_null_size = _hb_null_size; +using hb_null_size = _hb_null_size; #define hb_null_size(T) hb_null_size::value /* These doesn't belong here, but since is copy/paste from above, put it here. */ @@ -60,12 +60,12 @@ using hb_null_size = _hb_null_size; /* hb_static_size (T) * Returns T::static_size if T::min_size is defined, or sizeof (T) otherwise. */ -template +template struct _hb_static_size : hb_integral_constant {}; template -struct _hb_static_size> : hb_integral_constant {}; +struct _hb_static_size> : hb_integral_constant {}; template -using hb_static_size = _hb_static_size; +using hb_static_size = _hb_static_size; #define hb_static_size(T) hb_static_size::value