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;