diff --git a/src/hb-ot-color-svg-table.hh b/src/hb-ot-color-svg-table.hh index 55629769a..7c342d018 100644 --- a/src/hb-ot-color-svg-table.hh +++ b/src/hb-ot-color-svg-table.hh @@ -106,7 +106,7 @@ struct SVG inline const SVGDocumentIndexEntry &get_glyph_entry (hb_codepoint_t glyph_id) const { - const SortedArrayOf docs = this+svgDocEntries; + const SortedArrayOf &docs = this+svgDocEntries; return docs[docs.bsearch (glyph_id)]; }