From f6dc4698ef4ea042dd4858fd32fd0916b779b954 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 31 Dec 2022 10:52:32 -0700 Subject: [PATCH] [paint-extents] Minor move variable --- src/hb-paint-extents.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hb-paint-extents.hh b/src/hb-paint-extents.hh index 425900d3b..5adf5ae31 100644 --- a/src/hb-paint-extents.hh +++ b/src/hb-paint-extents.hh @@ -238,8 +238,7 @@ struct hb_paint_extents_context_t { hb_transform_t &t = transforms.tail (); t.transform_extents (extents); - hb_bounds_t b {extents}; - clips.push (b); + clips.push (hb_bounds_t {extents}); } void pop_clip () @@ -249,7 +248,7 @@ struct hb_paint_extents_context_t { void push_group () { - groups.push (hb_bounds_t{hb_bounds_t::EMPTY}); + groups.push (hb_bounds_t {hb_bounds_t::EMPTY}); } void pop_group (hb_paint_composite_mode_t mode)