Fixes missing supportUnicode in AutoUTF

This commit is contained in:
Milo Yip 2014-07-14 00:03:40 +08:00
parent b5436f7104
commit a37a1881a5

View File

@ -534,6 +534,8 @@ template<typename CharType>
struct AutoUTF {
typedef CharType Ch;
enum { supportUnicode = 1 };
#define RAPIDJSON_ENCODINGS_FUNC(x) UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UTF32BE<Ch>::x
template<typename OutputStream>