Add ArrayOf::pop()
This commit is contained in:
parent
307bd6d79f
commit
3ca809e362
|
@ -572,6 +572,8 @@ struct ArrayOf
|
||||||
|
|
||||||
explicit operator bool () const { return len; }
|
explicit operator bool () const { return len; }
|
||||||
|
|
||||||
|
void pop () { len--; }
|
||||||
|
|
||||||
hb_array_t< Type> as_array () { return hb_array (arrayZ, len); }
|
hb_array_t< Type> as_array () { return hb_array (arrayZ, len); }
|
||||||
hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); }
|
hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue