[subset-cff] Move an init to constructor

The init was not called anyway.
This commit is contained in:
Behdad Esfahbod 2022-11-28 13:58:44 -07:00
parent 6c92c3e0cf
commit 3ea0f37c30
1 changed files with 5 additions and 5 deletions

View File

@ -317,13 +317,13 @@ struct parsed_cs_op_t : op_str_t
struct parsed_cs_str_t : parsed_values_t<parsed_cs_op_t> struct parsed_cs_str_t : parsed_values_t<parsed_cs_op_t>
{ {
void init () parsed_cs_str_t () :
parsed (false),
hint_dropped (false),
has_prefix_ (false),
has_calls_ (false)
{ {
SUPER::init (); SUPER::init ();
parsed = false;
hint_dropped = false;
has_prefix_ = false;
has_calls_ = false;
} }
void add_op (op_code_t op, const byte_str_ref_t& str_ref) void add_op (op_code_t op, const byte_str_ref_t& str_ref)