From fffea5aff7a631eedd13c38c1fb7ea4f5f950930 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 22 Nov 2018 01:25:34 -0500 Subject: [PATCH] Minor --- src/hb-open-type.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {