From 8cfeed99486e87c3217dc141bc24b7768a460f32 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 21 Nov 2018 23:42:31 -0500 Subject: [PATCH] Minor --- src/hb-machinery.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index c209efe2a..24e454416 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -107,12 +107,12 @@ static inline Type& StructAfter(TObject &X) DEFINE_COMPILES_ASSERTION ((void) this->u._member.static_size); \ DEFINE_INSTANCE_ASSERTION (alignof (*this) == 1 && \ sizeof(this->u._member) == (size)); \ - static const unsigned int min_size = (size) + enum { min_size = (size) } #define DEFINE_SIZE_MIN(size) \ DEFINE_INSTANCE_ASSERTION (alignof (*this) == 1 && \ sizeof (*this) >= (size)); \ - static const unsigned int min_size = (size) + enum { min_size = (size) } #define DEFINE_SIZE_ARRAY(size, array) \ DEFINE_COMPILES_ASSERTION ((void) (array)[0].static_size); \