minor: undid unintended change

This commit is contained in:
ariza 2020-02-17 17:33:18 -08:00
parent 9c65680b48
commit c1313e4be2
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ struct hb_serialize_context_t
template <typename T1, typename T2> template <typename T1, typename T2>
bool check_assign (T1 &v1, T2 &&v2) bool check_assign (T1 &v1, T2 &&v2)
{ return check_equal ((hb_remove_reference<T2>) (v1 = v2), v2); } { return check_equal (v1 = v2, v2); }
template <typename T> bool propagate_error (T &&obj) template <typename T> bool propagate_error (T &&obj)
{ return check_success (!hb_deref (obj).in_error ()); } { return check_success (!hb_deref (obj).in_error ()); }