From 1e09ebebc1164108e7768b3ba1c66041c424daff Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 25 Jun 2023 18:24:42 -0600 Subject: [PATCH] [subset/cff1] Minor use vector length instead of map population --- src/hb-subset-cff1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-subset-cff1.cc b/src/hb-subset-cff1.cc index 5e338280c..327777825 100644 --- a/src/hb-subset-cff1.cc +++ b/src/hb-subset-cff1.cc @@ -40,7 +40,7 @@ using namespace CFF; struct remap_sid_t { - unsigned get_population () const { return map.get_population (); } + unsigned get_population () const { return vector.length; } void alloc (unsigned size) {