[cff-common] Use byte_str_t() instead of Null(byte_str_t)

This commit is contained in:
Behdad Esfahbod 2022-05-09 15:30:42 -06:00
parent 94f7a26322
commit 4bcab9e99a
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ struct CFFIndex
byte_str_t operator [] (unsigned int index) const
{
if (unlikely (index >= count)) return Null (byte_str_t);
if (unlikely (index >= count)) return byte_str_t ();
return byte_str_t (data_base () + offset_at (index) - 1, length_at (index));
}