commit | bc33b87f5e72648c66949cc9469291e77aa80701 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Jun 09 11:51:32 2021 -0600 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Jun 09 11:54:12 2021 -0600 |
tree | b3ec5d44d568c183590f91542466f048ea57d984 | |
parent | 9cfac093aa5816113289812764c44ec0c44c04c4 [diff] [blame] |
[set] Use references, not pointers, in internal C++ API
diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc index 56d66e1..62137bf 100644 --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc
@@ -285,7 +285,7 @@ hb_set_t glyphset_colrv0; if (colr.is_valid ()) { - glyphset_colrv0.union_ (cur_glyphset); + glyphset_colrv0.union_ (*cur_glyphset); for (hb_codepoint_t gid : cur_glyphset->iter ()) colr.closure_glyphs (gid, &glyphset_colrv0); cur_glyphset = &glyphset_colrv0;