use {} rather than {0}

This commit is contained in:
ckitagawa 2021-01-25 16:34:11 -05:00 committed by Behdad Esfahbod
parent 2e50b517e1
commit b198d94489
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ struct COLR
if (unlikely (!old_record))
return hb_pair_t<bool, BaseGlyphRecord> (false, Null (BaseGlyphRecord));
BaseGlyphRecord new_record = {0};
BaseGlyphRecord new_record = {};
new_record.glyphId = new_gid;
new_record.numLayers = old_record->numLayers;
return hb_pair_t<bool, BaseGlyphRecord> (true, new_record);