From d9de515a382c169f50a56fc7292aa96f62366ce8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 21 Nov 2022 14:23:07 -0700 Subject: [PATCH] [cff] Optimize byte_str_ref_t array access --- src/hb-cff-interp-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 98b308aa0..44394f85a 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -302,7 +302,7 @@ struct byte_str_ref_t set_error (); return Null (unsigned char); } - return str[get_offset () + i]; + return str.arrayZ[get_offset () + i]; } /* Conversion to hb_ubytes_t */