[buffer] HB_NODISCARD in_error()

This commit is contained in:
Behdad Esfahbod 2021-03-15 14:01:32 -06:00
parent 41e05479b6
commit 8d3701f507

View File

@ -139,7 +139,7 @@ struct hb_buffer_t
/* Methods */
bool in_error () const { return !successful; }
HB_NODISCARD bool in_error () const { return !successful; }
void allocate_var (unsigned int start, unsigned int count)
{