Skip to content

Commit

Permalink
[var] Minor, make a function a template
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed May 23, 2024
1 parent 1360979 commit fecc578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hb-ot-var-common.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fecc578

Please sign in to comment.