mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[vector] Remove .fini_deep()
This commit is contained in:
1 parent
4eb6e6ea16
commit
6ef83c2c31
2 files changed
+2
-9
No files matched your search
@@ -383,7 +383,7 @@ struct cff_stack_t
|
||||
for (unsigned int i = 0; i < elements.length; i++)
|
||||
elements[i].init ();
|
||||
}
|
||||
void fini () { elements.fini_deep (); }
|
||||
void fini () { elements.fini (); }
|
||||
|
||||
ELEM& operator [] (unsigned int i)
|
||||
{
|
||||
@@ -553,7 +553,7 @@ struct parsed_values_t
|
||||
opStart = 0;
|
||||
values.init ();
|
||||
}
|
||||
void fini () { values.fini_deep (); }
|
||||
void fini () { values.fini (); }
|
||||
|
||||
void add_op (op_code_t op, const byte_str_ref_t& str_ref = byte_str_ref_t ())
|
||||
{
|
||||
|
||||
@@ -86,13 +86,6 @@ struct hb_vector_t
|
||||
hb_free (arrayZ);
|
||||
init ();
|
||||
}
|
||||
void fini_deep ()
|
||||
{
|
||||
unsigned int count = length;
|
||||
for (unsigned int i = 0; i < count; i++)
|
||||
arrayZ[i].fini ();
|
||||
fini ();
|
||||
}
|
||||
|
||||
void reset ()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user