This commit is contained in:
Michiharu Ariza 2019-06-20 16:22:08 -07:00 committed by Behdad Esfahbod
parent f3ee2bd020
commit 10bd6b8d91

View File

@ -62,7 +62,7 @@ struct hb_bimap_t
}
hb_codepoint_t get (hb_codepoint_t lhs) const { return forw_map.get (lhs); }
hb_codepoint_t backward (hb_codepoint_t rhs) const { return back_map[rhs]; }
hb_codepoint_t backward (hb_codepoint_t rhs) const { return back_map.get (rhs); }
hb_codepoint_t operator [] (hb_codepoint_t lhs) const { return get (lhs); }
bool has (hb_codepoint_t lhs, hb_codepoint_t *vp = nullptr) const { return forw_map.has (lhs, vp); }