diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-04 10:01:30 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-08 13:26:21 +0200 |
commit | da8aedfc171843388a1743b107dea5a98a6ab6eb (patch) | |
tree | 091bdb0a1e407dc6a0028da9fd3a435424ed3d92 /thirdparty/harfbuzz/src/hb-bimap.hh | |
parent | ce634e03d5bbfe7f92b6285a79e8c0ce29649642 (diff) | |
download | redot-engine-da8aedfc171843388a1743b107dea5a98a6ab6eb.tar.gz |
HarfBuzz: Update to version 3.1.1
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-bimap.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-bimap.hh | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/thirdparty/harfbuzz/src/hb-bimap.hh b/thirdparty/harfbuzz/src/hb-bimap.hh index d409880751..d466af8b60 100644 --- a/thirdparty/harfbuzz/src/hb-bimap.hh +++ b/thirdparty/harfbuzz/src/hb-bimap.hh @@ -33,15 +33,14 @@ /* Bi-directional map */ struct hb_bimap_t { - hb_bimap_t () { init (); } - ~hb_bimap_t () { fini (); } - + /* XXX(remove) */ void init () { forw_map.init (); back_map.init (); } + /* XXX(remove) */ void fini () { forw_map.fini (); @@ -99,14 +98,6 @@ struct hb_bimap_t /* Inremental bimap: only lhs is given, rhs is incrementally assigned */ struct hb_inc_bimap_t : hb_bimap_t { - hb_inc_bimap_t () { init (); } - - void init () - { - hb_bimap_t::init (); - next_value = 0; - } - /* Add a mapping from lhs to rhs with a unique value if lhs is unknown. * Return the rhs value as the result. */ @@ -165,7 +156,7 @@ struct hb_inc_bimap_t : hb_bimap_t } protected: - unsigned int next_value; + unsigned int next_value = 0; }; #endif /* HB_BIMAP_HH */ |