[vector] Fix operator =

This commit is contained in:
Behdad Esfahbod 2025-02-26 12:05:12 -07:00
parent 59e6a1c477
commit a037d3815f

View file

@ -161,6 +161,7 @@ struct hb_vector_t
alloc_exact (o.length);
if (unlikely (in_error ())) return *this;
length = 0;
copy_array (o.as_array ());
return *this;