From e30511a8de700224a22163cf6f0c29e18aaeb4fb Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Fri, 14 Jan 2022 16:20:31 -0800 Subject: [PATCH] [map] Correct previous commit, if (...) was reversed. --- src/hb-map.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-map.hh b/src/hb-map.hh index 218350885..9341637ea 100644 --- a/src/hb-map.hh +++ b/src/hb-map.hh @@ -131,7 +131,7 @@ struct hb_hashmap_t } void fini_shallow () { - if (unlikely (!items)) { + if (likely (items)) { unsigned size = mask + 1; for (unsigned i = 0; i < size; i++) items[i].~item_t ();