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.cc')
-rw-r--r--src/unicode_script.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unicode_script.cc b/src/unicode_script.cc
index 651b160..583dc30 100644
--- a/src/unicode_script.cc
+++ b/src/unicode_script.cc
@@ -14,6 +14,7 @@
#include <unordered_map>
+#include "third_party/absl/container/flat_hash_map.h"
#include "unicode_script.h"
#include "unicode_script_map.h"
#include "util.h"
@@ -30,7 +31,7 @@ class GetScriptInternal {
}
private:
- std::unordered_map<char32, ScriptType> smap_;
+ absl::flat_hash_map<char32, ScriptType> smap_;
};
} // namespace