diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2023-04-11 15:54:06 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-04-24 16:28:24 +0200 |
commit | effefe9feb1013312fdbe9cbae24828807cddd29 (patch) | |
tree | 8580603f0b5fa6d38eed096afd59429d9611c319 /platform/windows/tts_windows.h | |
parent | 7e482f420d19bb4318f3ca448b014177b4f6baa4 (diff) |
Windows TTS: Use HashMap instead of RBMap for ids
And fixup includes in other implementations.
(cherry picked from commit 92b9806dcc98bc5ffbee6a7ca11090a926df0b3a)
Diffstat (limited to 'platform/windows/tts_windows.h')
-rw-r--r-- | platform/windows/tts_windows.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/tts_windows.h b/platform/windows/tts_windows.h index f0538a097c..33b597c612 100644 --- a/platform/windows/tts_windows.h +++ b/platform/windows/tts_windows.h @@ -32,8 +32,8 @@ #define TTS_WINDOWS_H #include "core/string/ustring.h" +#include "core/templates/hash_map.h" #include "core/templates/list.h" -#include "core/templates/rb_map.h" #include "core/variant/array.h" #include "servers/display_server.h" @@ -54,7 +54,7 @@ class TTS_Windows { int offset; int id; }; - RBMap<ULONG, UTData> ids; + HashMap<uint32_t, UTData> ids; static void __stdcall speech_event_callback(WPARAM wParam, LPARAM lParam); void _update_tts(); |