diff --git a/src/hb-object.hh b/src/hb-object.hh index 9876c2923..d7bcb61bd 100644 --- a/src/hb-object.hh +++ b/src/hb-object.hh @@ -80,7 +80,7 @@ struct hb_lockable_set_t if (item) { item_t old = *item; - *item = items[items.length - 1]; + *item = std::move (items[items.length - 1]); items.pop (); l.unlock (); old.fini ();