From 6cc9707c9c0885a3133b7844f615cdcdaeccec18 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 Apr 2019 10:22:06 -0400 Subject: [PATCH] [serialize] Rename --- src/hb-serialize.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 7e2d2f7b9..7566881a8 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -121,7 +121,7 @@ struct hb_serialize_context_t } bool check_success (bool success) - { return this->successful && (success || (err_propagated_error (), false)); } + { return this->successful && (success || (err_other_error (), false)); } template bool check_equal (T1 &&v1, T2 &&v2) @@ -330,10 +330,8 @@ struct hb_serialize_context_t } /* Following two functions exist to allow setting breakpoint on. */ - void - err_ran_out_of_room () { this->ran_out_of_room = true; } - void - err_propagated_error () { this->successful = false; } + void err_ran_out_of_room () { this->ran_out_of_room = true; } + void err_other_error () { this->successful = false; } template Type *allocate_size (unsigned int size)