[cff2] Use a shrink instead of resize

Such that we can free the allocation.
This commit is contained in:
Behdad Esfahbod 2023-01-01 18:41:19 -07:00
parent b87360763e
commit b1c4cb0cae
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ struct blend_arg_t : number_t
void reset_blends () void reset_blends ()
{ {
numValues = valueIndex = 0; numValues = valueIndex = 0;
deltas.resize (0); deltas.shrink (0);
} }
unsigned int numValues; unsigned int numValues;