[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<AAT::MorxTypes>::EntryData'
  DEFINE_SIZE_STATIC (4 + T::static_size);
                            ~~~^
This commit is contained in:
Behdad Esfahbod 2018-01-11 17:41:34 +01:00
parent f6be730994
commit d887f93148

View File

@ -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