From 8eb7889fd4cd03f84c78eb84514e05927fb6bd2c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 24 Jul 2023 20:31:12 -0600 Subject: [PATCH] Add max-size to static-size objects --- src/hb-machinery.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index cde1e99d6..70aed5426 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -104,6 +104,7 @@ static inline Type& StructAfter(TObject &X) unsigned int get_size () const { return (size); } \ static constexpr unsigned null_size = (size); \ static constexpr unsigned min_size = (size); \ + static constexpr unsigned max_size = (size); \ static constexpr unsigned static_size = (size) #define DEFINE_SIZE_UNION(size, _member) \