From 839618de3b3da285e8753b6ca6d767e9a483bfde Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 17:21:27 -0700 Subject: [PATCH] [serializer] Minor --- 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 ccb7af988..bb2637114 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -371,7 +371,7 @@ struct hb_serialize_context_t } template Type *embed (const Type &obj) - { return embed (&obj); } + { return embed (hb_addressof (obj)); } template auto _copy (const Type &src, hb_priority<1>, Ts &&...ds) HB_RETURN