summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobqianic <129547291+bobqianic@users.noreply.github.com>2024-01-21 15:17:35 +0000
committerGitHub <noreply@github.com>2024-01-21 10:17:35 -0500
commit6c5629d4d2d15557c38a0e609b30c1a42abad80d (patch)
treea537cc2b744e96e2a818baf4b1e69902172f6ad1
parent7dcbe39d36b76389f6c5cd3b151928472b7e22ff (diff)
add `#include <string>` to unicode.h (#5051)
Co-authored-by: Jared Van Bortel <jared@nomic.ai>
-rw-r--r--unicode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unicode.h b/unicode.h
index aeca879e..844eff3d 100644
--- a/unicode.h
+++ b/unicode.h
@@ -2,8 +2,9 @@
#include <cassert>
#include <stdexcept>
-#include <vector>
+#include <string>
#include <unordered_map>
+#include <vector>
static const std::vector<std::pair<uint32_t, uint32_t>> digit_ranges = {
{0x30, 0x39}, {0xB2, 0xB3}, {0xB9, 0xB9}, {0x660, 0x669}, {0x6F0, 0x6F9}, {0x7C0, 0x7C9}, {0x966, 0x96F}, {0x9E6, 0x9EF}, {0xA66, 0xA6F}, {0xAE6, 0xAEF}, {0xB66, 0xB6F}, {0xBE6, 0xBEF}, {0xC66, 0xC6F},