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