Add sanitizer reference_table, also fix clang build

System Internals / HarfBuzz - Behdad Esfahbod [behdad.org] - 23 July 2018 05:24 EDT

Clang is being really peculiar. Fix with:

- inline hb_blob_t *sanitize (hb_blob_t *blob) { return c->sanitize (blob); } + inline hb_blob_t *sanitize (hb_blob_t *blob) { return c[0].template/*clang idiosyncrasy*/sanitize_blob (blob); }

e7737b41 Add sanitizer reference_table, also fix clang build
src/hb-open-type-private.hh | 10 ++++++++--
src/hb-ot-post-table.hh | 2 +-
src/hb-subset-glyf.cc | 2 +-
src/hb-uniscribe.cc | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share