From b6fed6f7116b258c6bd76024064a0d856d3ccd97 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 29 May 2022 06:33:34 -0600 Subject: [PATCH] [set-digest] Minor don't use !! when auto bool conversion happens --- src/hb-set-digest.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-set-digest.hh b/src/hb-set-digest.hh index 7d4979b73..f58b0d967 100644 --- a/src/hb-set-digest.hh +++ b/src/hb-set-digest.hh @@ -102,7 +102,7 @@ struct hb_set_digest_lowest_bits_t bool add_sorted_array (const hb_sorted_array_t& arr) { return add_sorted_array (&arr, arr.len ()); } bool may_have (hb_codepoint_t g) const - { return !!(mask & mask_for (g)); } + { return mask & mask_for (g); } private: