From 3b2929e8a9da349fbd8437fd0b5cf0c8ce92cf32 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 21 Sep 2021 12:21:02 -0600 Subject: [PATCH] [set-digest] Use using instead of typedef --- src/hb-set-digest.hh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/hb-set-digest.hh b/src/hb-set-digest.hh index 1ef1ba5fb..7d4979b73 100644 --- a/src/hb-set-digest.hh +++ b/src/hb-set-digest.hh @@ -168,15 +168,17 @@ struct hb_set_digest_combiner_t * There is not much science to this: it's a result of intuition * and testing. */ -typedef hb_set_digest_combiner_t -< - hb_set_digest_lowest_bits_t, +using hb_set_digest_t = hb_set_digest_combiner_t < - hb_set_digest_lowest_bits_t, - hb_set_digest_lowest_bits_t + hb_set_digest_lowest_bits_t, + hb_set_digest_combiner_t + < + hb_set_digest_lowest_bits_t, + hb_set_digest_lowest_bits_t + > > -> hb_set_digest_t; +; #endif /* HB_SET_DIGEST_HH */