Fix VC compilation error

This commit is contained in:
Milo Yip 2016-02-20 16:33:29 +08:00
parent 5fc59cb6fa
commit 3595b1f677

View File

@ -67,7 +67,7 @@ private:
template <>
class EncodedInputStream<UTF8<>, MemoryStream> {
public:
typedef typename UTF8<>::Ch Ch;
typedef UTF8<>::Ch Ch;
EncodedInputStream(MemoryStream& is) : is_(is) {
if (static_cast<unsigned char>(is_.Peek()) == 0xEFu) is_.Take();