From fecc5789d45b5708a9b2815ecae3edfce5ba7ea6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 May 2024 16:23:21 -0600 Subject: [PATCH] [var] Minor, make a function a template --- src/hb-ot-var-common.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-var-common.hh b/src/hb-ot-var-common.hh index 110fc05c6..3f4edc010 100644 --- a/src/hb-ot-var-common.hh +++ b/src/hb-ot-var-common.hh @@ -1424,8 +1424,9 @@ struct TupleVariationData return true; } + template static bool decompile_deltas (const HBUINT8 *&p /* IN/OUT */, - hb_vector_t &deltas /* IN/OUT */, + hb_vector_t &deltas /* IN/OUT */, const HBUINT8 *end, bool consume_all = false) {