mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[var] Minor, make a function a template
This commit is contained in:
1 parent
136097901b
commit
fecc5789d4
1 file changed
+2
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user