[serialize] Remove unused truncate() method

This commit is contained in:
Behdad Esfahbod 2018-07-30 16:59:41 -07:00
parent 5edf454aa6
commit ee8cf91965

View File

@ -467,12 +467,6 @@ struct hb_serialize_context_t
return reinterpret_cast<Type *> (&obj);
}
inline void truncate (void *new_head)
{
assert (this->start < new_head && new_head <= this->head);
this->head = (char *) new_head;
}
unsigned int debug_depth;
char *start, *end, *head;
bool ran_out_of_room;