From 9c7d871b0eb31adfaf2eaa858f937d7cc2bb6bba Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 23 Mar 2024 09:55:30 -0600 Subject: [PATCH] [varc] Fix return type --- src/hb-open-type.hh | 2 +- src/hb-ot-layout-common.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 9ce37b838..0edf24479 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -1774,7 +1774,7 @@ struct TupleValues struct TupleList : CFF2Index { - hb_vector_t operator [] (unsigned i) const + hb_vector_t operator [] (unsigned i) const { auto bytes = CFF2Index::operator [] (i); diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index c722483fa..deb593002 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -3136,7 +3136,7 @@ struct MultiVarData { auto &deltaSets = StructAfter (regionIndices); - hb_vector_t values_vector {deltaSets[inner]}; + auto values_vector = deltaSets[inner]; int *values = values_vector.arrayZ; unsigned regionCount = regionIndices.len;