提交 52f6c04c 编写于 作者: B Behdad Esfahbod

Minor

上级 7c037bd2
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册