diff options
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-bimap.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-bimap.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb-bimap.hh b/thirdparty/harfbuzz/src/hb-bimap.hh index a9e1278de7..5b313bf59c 100644 --- a/thirdparty/harfbuzz/src/hb-bimap.hh +++ b/thirdparty/harfbuzz/src/hb-bimap.hh @@ -39,6 +39,12 @@ struct hb_bimap_t back_map.reset (); } + void resize (unsigned pop) + { + forw_map.resize (pop); + back_map.resize (pop); + } + bool in_error () const { return forw_map.in_error () || back_map.in_error (); } void set (hb_codepoint_t lhs, hb_codepoint_t rhs) |