[glyf] Use a range for loop
This commit is contained in:
parent
e4f2bc9342
commit
ba1c9eda38
|
@ -466,13 +466,9 @@ struct glyf_accelerator_t
|
||||||
|
|
||||||
gids_to_retain->add (gid);
|
gids_to_retain->add (gid);
|
||||||
|
|
||||||
auto it = glyph_for_gid (gid).get_composite_iterator ();
|
for (auto item : glyph_for_gid (gid).get_composite_iterator ())
|
||||||
while (it)
|
|
||||||
{
|
|
||||||
auto item = *(it++);
|
|
||||||
operation_count =
|
operation_count =
|
||||||
add_gid_and_children (item.get_glyph_index (), gids_to_retain, depth, operation_count);
|
add_gid_and_children (item.get_glyph_index (), gids_to_retain, depth, operation_count);
|
||||||
}
|
|
||||||
|
|
||||||
return operation_count;
|
return operation_count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue