[var] Minor, make a function a template

pull/4578/head
Behdad Esfahbod 9 months ago
parent 136097901b
commit fecc5789d4
  1. 3
      src/hb-ot-var-common.hh

@ -1424,8 +1424,9 @@ struct TupleVariationData
return true;
}
template <typename T>
static bool decompile_deltas (const HBUINT8 *&p /* IN/OUT */,
hb_vector_t<int> &deltas /* IN/OUT */,
hb_vector_t<T> &deltas /* IN/OUT */,
const HBUINT8 *end,
bool consume_all = false)
{

Loading…
Cancel
Save