[buffer] HB_NODISCARD in_error()
This commit is contained in:
parent
41e05479b6
commit
8d3701f507
|
@ -139,7 +139,7 @@ struct hb_buffer_t
|
||||||
|
|
||||||
/* Methods */
|
/* Methods */
|
||||||
|
|
||||||
bool in_error () const { return !successful; }
|
HB_NODISCARD bool in_error () const { return !successful; }
|
||||||
|
|
||||||
void allocate_var (unsigned int start, unsigned int count)
|
void allocate_var (unsigned int start, unsigned int count)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue