From c1313e4be24017478deacfec1d9ee0284c411bbd Mon Sep 17 00:00:00 2001 From: ariza Date: Mon, 17 Feb 2020 17:33:18 -0800 Subject: [PATCH] minor: undid unintended change --- src/hb-serialize.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index b2c6aa6b0..c36c435d3 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -129,7 +129,7 @@ struct hb_serialize_context_t template bool check_assign (T1 &v1, T2 &&v2) - { return check_equal ((hb_remove_reference) (v1 = v2), v2); } + { return check_equal (v1 = v2, v2); } template bool propagate_error (T &&obj) { return check_success (!hb_deref (obj).in_error ()); }