[subset-cff] Access vector directly

This commit is contained in:
Behdad Esfahbod 2022-05-18 11:54:08 -06:00
parent 7c86f2e763
commit 4792309265
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ struct str_encoder_t
set_error ();
return;
}
memcpy (&buff[offset], &str[0], str.length);
memcpy (&buff.arrayZ + offset, &str[0], str.length);
}
bool is_error () const { return error; }