From 7f5fafec0d9ed40620c44e3bc59e07e4bf74b05d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 1 Apr 2025 21:35:28 -0600 Subject: [PATCH] [GDEF] Simplify cache declaration --- src/OT/Layout/GDEF/GDEF.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OT/Layout/GDEF/GDEF.hh b/src/OT/Layout/GDEF/GDEF.hh index 7747c21e5..79de21e59 100644 --- a/src/OT/Layout/GDEF/GDEF.hh +++ b/src/OT/Layout/GDEF/GDEF.hh @@ -1014,7 +1014,8 @@ struct GDEF hb_blob_ptr_t table; #ifndef HB_NO_GDEF_CACHE hb_vector_t mark_glyph_set_digests; - mutable hb_cache_t<21, 3, 8> glyph_props_cache; + mutable hb_cache_t<21, 3> glyph_props_cache; + static_assert (sizeof (glyph_props_cache) == 512, ""); #endif };