[util/hb-subset] Minor move parsing
This commit is contained in:
parent
3f94177ee8
commit
1cb621d35d
|
@ -46,10 +46,15 @@ struct subset_main_t : option_parser_t, face_options_t, output_options_t<false>
|
||||||
hb_subset_input_destroy (input);
|
hb_subset_input_destroy (input);
|
||||||
}
|
}
|
||||||
|
|
||||||
int operator () (int argc, char **argv)
|
void parse (int argc, char **argv)
|
||||||
{
|
{
|
||||||
add_options ();
|
add_options ();
|
||||||
parse (&argc, &argv);
|
option_parser_t::parse (&argc, &argv);
|
||||||
|
}
|
||||||
|
|
||||||
|
int operator () (int argc, char **argv)
|
||||||
|
{
|
||||||
|
parse (argc, argv);
|
||||||
|
|
||||||
hb_face_t *new_face = nullptr;
|
hb_face_t *new_face = nullptr;
|
||||||
for (unsigned i = 0; i < num_iterations; i++)
|
for (unsigned i = 0; i < num_iterations; i++)
|
||||||
|
|
Loading…
Reference in New Issue