mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[serialize] Remove unused truncate() method
This commit is contained in:
1 parent
5edf454aa6
commit
ee8cf91965
1 file changed
-6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user