From 52f6c04c1e0eab2aaa0c7d817b212c01ba993fe9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 13:45:48 -0700 Subject: [PATCH] Minor --- src/hb-serialize.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 7e46df265..dc9cc8226 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -290,13 +290,13 @@ struct hb_serialize_context_t assert (!current); assert (packed.length > 1); - for (const object_t *parent : ++hb_iter (packed)) + for (const object_t* parent : ++hb_iter (packed)) { for (const object_t::link_t &link : parent->links) { - const object_t &child = *packed[link.objidx]; + const object_t* child = packed[link.objidx]; assert (link.bias <= (size_t) (parent->tail - parent->head)); - unsigned offset = (child.head - parent->head) - link.bias; + unsigned offset = (child->head - parent->head) - link.bias; if (link.is_wide) {