summaryrefslogtreecommitdiff
path: root/modules/text_server_adv/text_server_adv.h
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-06-15 00:32:10 +0200
committerHendrik Brucker <hendrik.brucker@mail.de>2022-06-15 00:32:10 +0200
commit8c61470fa95d128a416d86203651e1f00cb9c9f9 (patch)
tree70daac00add06e5b95defd8864ec6b43aa3cfdc3 /modules/text_server_adv/text_server_adv.h
parentb9375ea7fc135f5468dcfb8c80b51a945ac14155 (diff)
Hash function improvements
Diffstat (limited to 'modules/text_server_adv/text_server_adv.h')
-rw-r--r--modules/text_server_adv/text_server_adv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/text_server_adv/text_server_adv.h b/modules/text_server_adv/text_server_adv.h
index 62f94472b5..552ec28ce4 100644
--- a/modules/text_server_adv/text_server_adv.h
+++ b/modules/text_server_adv/text_server_adv.h
@@ -191,7 +191,7 @@ class TextServerAdvanced : public TextServerExtension {
Vector<FontTexture> textures;
HashMap<int32_t, FontGlyph> glyph_map;
- HashMap<Vector2i, Vector2, VariantHasher, VariantComparator> kerning_map;
+ HashMap<Vector2i, Vector2> kerning_map;
hb_font_t *hb_handle = nullptr;
#ifdef MODULE_FREETYPE_ENABLED