From 43d2ced8417c2a7666faf01f8e65fa14e40da2cb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 23 Jun 2023 13:16:51 -0600 Subject: [PATCH] [map] Minor remove a conditional --- src/hb-map.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-map.hh b/src/hb-map.hh index 065b533e5..6cdd8b878 100644 --- a/src/hb-map.hh +++ b/src/hb-map.hh @@ -247,8 +247,7 @@ struct hb_hashmap_t if (item.is_used ()) { occupancy--; - if (item.is_real ()) - population--; + population -= item.is_real (); } item.key = std::forward (key);