From 3ea0f37c30aaf354e256ad1374fd2e0956df8120 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 28 Nov 2022 13:58:44 -0700 Subject: [PATCH] [subset-cff] Move an init to constructor The init was not called anyway. --- src/hb-subset-cff-common.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index d5bc78c2b..845d59590 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -317,13 +317,13 @@ struct parsed_cs_op_t : op_str_t struct parsed_cs_str_t : parsed_values_t { - void init () + parsed_cs_str_t () : + parsed (false), + hint_dropped (false), + has_prefix_ (false), + has_calls_ (false) { 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)