[buffer] HB_NODISCARD ensure_inplace()

pull/2900/head
Behdad Esfahbod 4 years ago
parent cac6c86d2f
commit bc22305b6a
  1. 2
      src/hb-buffer.hh

@ -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 ()

Loading…
Cancel
Save