From e47e44a8583d9f74bd13172a6a0b084745f7d5fe Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 26 May 2021 14:19:27 -0600 Subject: [PATCH] [set] Whitespace --- src/hb-set.hh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/hb-set.hh b/src/hb-set.hh index 28ece87ff..89c574f0d 100644 --- a/src/hb-set.hh +++ b/src/hb-set.hh @@ -507,9 +507,7 @@ struct hb_set_t bool is_subset (const hb_set_t *larger_set) const { if (unlikely(larger_set->is_empty ())) - { return is_empty (); - } uint32_t spi = 0; for (uint32_t lpi = 0; spi < page_map.length && lpi < larger_set->page_map.length; lpi++) @@ -520,30 +518,21 @@ struct hb_set_t auto lp = larger_set->page_at (lpi); if (spm < lpm && !sp.is_empty ()) - { return false; - } if (lpm < spm) - { continue; - } for (int j = 0; j < ARRAY_LENGTH_CONST (sp.v); j++) - { - if ((~lp.v[j] & sp.v[j]) != 0) { return false; } - } + if (~lp.v[j] & sp.v[j]) + return false; spi++; } while (spi < page_map.length) - { if (!page_at (spi++).is_empty ()) - { return false; - } - } return true; }