aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-08-10 01:42:52 +0800
committercrupest <crupest@outlook.com>2021-08-10 01:42:52 +0800
commit7be2ea15e41d296cd26635f276551959362aa39d (patch)
tree5df258f2f38a9791b79278d4fda512b1e8e643c0 /src/common
parenta9bdeccd01e2a7f37b533b674adc2b879237fbe3 (diff)
downloadcru-7be2ea15e41d296cd26635f276551959362aa39d.tar.gz
cru-7be2ea15e41d296cd26635f276551959362aa39d.tar.bz2
cru-7be2ea15e41d296cd26635f276551959362aa39d.zip
...
Diffstat (limited to 'src/common')
-rw-r--r--src/common/StringUtil.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/StringUtil.cpp b/src/common/StringUtil.cpp
index 54adebd9..36f4df4e 100644
--- a/src/common/StringUtil.cpp
+++ b/src/common/StringUtil.cpp
@@ -153,9 +153,6 @@ CodePoint Utf16PreviousCodePoint(std::u16string_view str, Index current,
return result;
}
-template class CodePointIterator<std::string_view, &Utf8NextCodePoint>;
-template class CodePointIterator<std::u16string_view, &Utf16NextCodePoint>;
-
void Utf8EncodeCodePointAppend(CodePoint code_point, std::string& str) {
auto write_continue_byte = [&str](std::uint8_t byte6) {
str.push_back((1u << 7) + (((1u << 6) - 1) & byte6));