From 76c8214eb51fada2d99c460b59307c7acc4ad074 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 18 Nov 2022 12:30:46 -0700 Subject: [PATCH] [gsubgpos] Move member around --- src/hb-ot-layout-gsubgpos.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 13c067d2f..b2ff7cda9 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -672,6 +672,7 @@ struct hb_ot_apply_context_t : const GDEF &gdef; const VariationStore &var_store; VariationStore::cache_t *var_store_cache; + hb_set_digest_t digest; hb_direction_t direction; hb_mask_t lookup_mask = 1; @@ -686,7 +687,6 @@ struct hb_ot_apply_context_t : bool random = false; uint32_t random_state = 1; unsigned new_syllables = (unsigned) -1; - hb_set_digest_t digest; hb_ot_apply_context_t (unsigned int table_index_, hb_font_t *font_, @@ -708,9 +708,9 @@ struct hb_ot_apply_context_t : nullptr #endif ), + digest (buffer_->digest ()), direction (buffer_->props.direction), - has_glyph_classes (gdef.has_glyph_classes ()), - digest (buffer_->digest ()) + has_glyph_classes (gdef.has_glyph_classes ()) { init_iters (); } ~hb_ot_apply_context_t ()