diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index b1fcd6877..c5d1aa844 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -231,13 +231,13 @@ struct FixedVersion * Use: (base+offset) */ -template struct assert_has_min_size { static_assert (Type::min_size > 0, ""); }; -template struct assert_has_min_size {}; +template struct assert_has_null_size { static_assert (Type::null_size > 0, ""); }; +template struct assert_has_null_size {}; template struct OffsetTo : Offset { - static_assert (sizeof (assert_has_min_size) || true, ""); + static_assert (sizeof (assert_has_null_size) || true, ""); inline const Type& operator () (const void *base) const {