From d887f931485b715775e922516a4b0de5bb92c34f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 11 Jan 2018 17:41:34 +0100 Subject: [PATCH] [aat] Make bots happy Don't know why this is not caught by my compiler. Looks like clang catches it while gcc doesn't. In file included from ../src/hb-aat-layout-morx-table.hh:31: ../src/hb-aat-layout-common-private.hh:523:30: error: no member named 'static_size' in 'AAT::ContextualSubtable::EntryData' DEFINE_SIZE_STATIC (4 + T::static_size); ~~~^ --- src/hb-aat-layout-morx-table.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index 5dec189fd..f13b55cab 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -195,6 +195,8 @@ struct ContextualSubtable * marked glyph (use 0xFFFF for none). */ HBUINT16 currentIndex; /* Index of the substitution table for the * current glyph (use 0xFFFF for none). */ + public: + DEFINE_SIZE_MIN (4); }; inline bool apply (hb_apply_context_t *c) const