This commit is contained in:
Behdad Esfahbod 2018-12-11 23:07:48 -05:00
parent 1aea869446
commit ce069d1932
1 changed files with 0 additions and 1 deletions

View File

@ -262,7 +262,6 @@ struct OffsetTo : Offset<OffsetType, has_null>
} }
inline Type& operator () (void *base) const inline Type& operator () (void *base) const
{ {
if (unlikely (this->is_null ())) return Crap (Type);
if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap ();
return StructAtOffset<Type> (base, *this); return StructAtOffset<Type> (base, *this);
} }