From 83b3784d1d984ed3a94b696252b03eab514e3ffa Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 15 Mar 2021 13:59:14 -0600 Subject: [PATCH] [buffer] HB_NODISCARD make_room_for() --- src/hb-buffer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-buffer.hh b/src/hb-buffer.hh index 6a8415e2e..48f44092f 100644 --- a/src/hb-buffer.hh +++ b/src/hb-buffer.hh @@ -376,7 +376,7 @@ struct hb_buffer_t return true; } - HB_INTERNAL bool make_room_for (unsigned int num_in, unsigned int num_out); + HB_INTERNAL HB_NODISCARD bool make_room_for (unsigned int num_in, unsigned int num_out); HB_INTERNAL bool shift_forward (unsigned int count); typedef long scratch_buffer_t;