Index: src/unicode.h |
diff --git a/src/unicode.h b/src/unicode.h |
index a3b799ebdacf734c23a6ee5320119b39f58a363d..9d1d683231e7ad233e70f5c58a34d10133cc4534 100644 |
--- a/src/unicode.h |
+++ b/src/unicode.h |
@@ -120,6 +120,9 @@ class Utf8 { |
static inline unsigned Encode(char* out, uchar c); |
static const byte* ReadBlock(Buffer<const char*> str, byte* buffer, |
unsigned capacity, unsigned* chars_read, unsigned* offset); |
+ static uchar CalculateValue(const byte* str, |
+ unsigned length, |
+ unsigned* cursor); |
static const uchar kBadChar = 0xFFFD; |
static const unsigned kMaxEncodedSize = 4; |
static const unsigned kMaxOneByteChar = 0x7f; |
@@ -133,9 +136,6 @@ class Utf8 { |
static inline uchar ValueOf(const byte* str, |
unsigned length, |
unsigned* cursor); |
- static uchar CalculateValue(const byte* str, |
- unsigned length, |
- unsigned* cursor); |
}; |
// --- C h a r a c t e r S t r e a m --- |