[cff-common] Use byte_str_t() instead of Null(byte_str_t)
This commit is contained in:
parent
94f7a26322
commit
4bcab9e99a
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue