Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/unicode_script_map.h')
-rw-r--r--src/unicode_script_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unicode_script_map.h b/src/unicode_script_map.h
index 5e77c89..f2e67e9 100644
--- a/src/unicode_script_map.h
+++ b/src/unicode_script_map.h
@@ -14,11 +14,11 @@
#ifndef UNICODE_SCRIPT_DATA_H_
#define UNICODE_SCRIPT_DATA_H_
-#include <unordered_map>
+#include "third_party/absl/container/flat_hash_map.h"
namespace sentencepiece {
namespace unicode_script {
namespace {
-void InitTable(std::unordered_map<char32, ScriptType> *smap) {
+void InitTable(absl::flat_hash_map<char32, ScriptType> *smap) {
for (char32 c = 0x0000; c <= 0x001F; ++c) (*smap)[c] = U_Common;
(*smap)[0x0020] = U_Common;
for (char32 c = 0x0021; c <= 0x0023; ++c) (*smap)[c] = U_Common;