diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 411696641a261285be74813eaecec689b83aedd7..0ecd3c6b601525f7476284922b6df971f05a5347 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -317,6 +317,7 @@ struct OffsetTo : Offset DEFINE_SIZE_STATIC (sizeof (OffsetType)); }; template struct LOffsetTo : OffsetTo {}; + template static inline const Type& operator + (const Base &base, const OffsetTo &offset) { return offset (base); } template @@ -401,7 +402,7 @@ struct UnsizedArrayOf public: Type arrayZ[VAR]; public: - DEFINE_SIZE_ARRAY (0, arrayZ); + DEFINE_SIZE_UNBOUNDED (0); }; /* Unsized array of offset's */