From 5ec21d4af4bc620cb58ff715e2a66288128c8d6f Mon Sep 17 00:00:00 2001 From: Qunxin Liu Date: Wed, 20 Sep 2023 09:31:03 -0700 Subject: [PATCH] [instancer] fix delta_row_encoding_t constructor always move chars_ --- src/hb-ot-layout-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 4a9f15774..8d003a2b3 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -2317,7 +2317,7 @@ struct delta_row_encoding_t delta_row_encoding_t () { - chars = chars_; + chars = std::move (chars_); width = get_width (); columns = get_columns (); overhead = get_chars_overhead (columns);