From 45af29da8095af16729955117a165d23e77cd740 Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 19 May 2022 17:00:06 +0200 Subject: Add a new HashSet template * Intended to replace RBSet in most cases. * Optimized for iteration speed --- modules/text_server_adv/text_server_adv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/text_server_adv/text_server_adv.h') diff --git a/modules/text_server_adv/text_server_adv.h b/modules/text_server_adv/text_server_adv.h index 897c27b6fa..fe1d4bdcbf 100644 --- a/modules/text_server_adv/text_server_adv.h +++ b/modules/text_server_adv/text_server_adv.h @@ -126,7 +126,7 @@ class TextServerAdvanced : public TextServerExtension { _THREAD_SAFE_CLASS_ struct NumSystemData { - RBSet lang; + HashSet lang; String digits; String percent_sign; String exp; @@ -235,7 +235,7 @@ class TextServerAdvanced : public TextServerExtension { HashMap cache; bool face_init = false; - RBSet supported_scripts; + HashSet supported_scripts; Dictionary supported_features; Dictionary supported_varaitions; Dictionary feature_overrides; -- cgit v1.2.3