From ca9a8aba5e4841eb708da650e6086000b19021a0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 12 Sep 2025 03:50:46 -0600 Subject: [PATCH] Revert "[instancer/varstore] Micro-optimize" This reverts commit 7484eb5807d6127bea6b888a7d8fdad1b73a8c0b. --- src/hb-ot-layout-common.hh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 0de594d5f..089bb1586 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -2456,14 +2456,6 @@ struct delta_row_encoding_t if (row) items.push (row); } - friend void swap (delta_row_encoding_t& a, delta_row_encoding_t& b) noexcept - { - hb_swap (a.chars, b.chars); - hb_swap (a.width, b.width); - hb_swap (a.overhead, b.overhead); - hb_swap (a.items, b.items); - } - bool is_empty () const { return !items; }