diff --git a/src/hb-vector.hh b/src/hb-vector.hh index eefae3834..b275b522f 100644 --- a/src/hb-vector.hh +++ b/src/hb-vector.hh @@ -340,7 +340,7 @@ struct hb_vector_t : std::conditional, hb_empty Type pop () { if (!length) return Null (Type); - Type v = std::move (arrayZ[length - 1]); + Type v = arrayZ[length - 1]; arrayZ[length - 1].~Type (); length--; return v;