One more variadic parameter pack use
This commit is contained in:
parent
441cca2354
commit
175bdad8bf
|
@ -153,13 +153,13 @@ struct LookupSegmentArray
|
||||||
first <= last &&
|
first <= last &&
|
||||||
valuesZ.sanitize (c, base, last - first + 1));
|
valuesZ.sanitize (c, base, last - first + 1));
|
||||||
}
|
}
|
||||||
template <typename T2>
|
template <typename ...Ts>
|
||||||
bool sanitize (hb_sanitize_context_t *c, const void *base, T2 user_data) const
|
bool sanitize (hb_sanitize_context_t *c, const void *base, Ts &&...ds) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (c->check_struct (this) &&
|
return_trace (c->check_struct (this) &&
|
||||||
first <= last &&
|
first <= last &&
|
||||||
valuesZ.sanitize (c, base, last - first + 1, user_data));
|
valuesZ.sanitize (c, base, last - first + 1, hb_forward<Ts> (ds)...));
|
||||||
}
|
}
|
||||||
|
|
||||||
GlyphID last; /* Last GlyphID in this segment */
|
GlyphID last; /* Last GlyphID in this segment */
|
||||||
|
|
Loading…
Reference in New Issue