[serialize] Remove unused truncate() method

This commit is contained in:
Behdad Esfahbod committed 2018-07-30 16:59:41 -07:00
1 parent 5edf454aa6
commit ee8cf91965
1 file changed
-6
-6
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;