[serialize] Minor
This commit is contained in:
parent
5a3de4f4f8
commit
7f73c9744e
|
@ -287,17 +287,13 @@ struct OffsetTo : Offset<OffsetType, has_null>
|
||||||
if (&src == &Null (T))
|
if (&src == &Null (T))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//serialize (c->serializer, base);
|
|
||||||
|
|
||||||
c->serializer->push ();
|
c->serializer->push ();
|
||||||
if (!src.subset (c))
|
if (src.subset (c))
|
||||||
{
|
|
||||||
c->serializer->pop_discard ();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
c->serializer->add_link (*this,
|
c->serializer->add_link (*this,
|
||||||
c->serializer->pop_pack (),
|
c->serializer->pop_pack (),
|
||||||
base);
|
base);
|
||||||
|
else
|
||||||
|
c->serializer->pop_discard ();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool sanitize_shallow (hb_sanitize_context_t *c, const void *base) const
|
bool sanitize_shallow (hb_sanitize_context_t *c, const void *base) const
|
||||||
|
|
Loading…
Reference in New Issue