[buffer] HB_NODISCARD ensure_inplace()

This commit is contained in:
Behdad Esfahbod 2021-03-15 13:57:18 -06:00
parent cac6c86d2f
commit bc22305b6a
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ struct hb_buffer_t
HB_NODISCARD bool ensure (unsigned int size)
{ return likely (!size || size < allocated) ? true : enlarge (size); }
bool ensure_inplace (unsigned int size)
HB_NODISCARD bool ensure_inplace (unsigned int size)
{ return likely (!size || size < allocated); }
void assert_glyphs ()