From db6fbe29e47ce871e66ebbf2eb93657bad429d13 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 3 Aug 2021 10:13:17 -0600 Subject: [PATCH] [util/hb-subset] Use driver_t<> in outer block as well https://github.com/harfbuzz/harfbuzz/commit/a363ce573c3aa706de3aecf0515519a5d7842af2#r54282223 --- util/hb-subset.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/hb-subset.cc b/util/hb-subset.cc index 0cc78c1f0..f05064245 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -51,7 +51,7 @@ struct subset_consumer_t const char *text_before, const char *text_after) { - // TODO(Q1) does this only get called with at least 1 codepoint? + // TODO does this only get called with at least 1 codepoint? hb_set_t *codepoints = hb_subset_input_unicode_set (input); if (0 == strcmp (text, "*")) { @@ -163,6 +163,7 @@ main (int argc, char **argv) } return ret; } - main_font_text_t driver; + + driver_t<> driver; return driver.main (argc, argv); }