Commit 30111dbf authored by Milo Yip's avatar Milo Yip

Merge pull request #635 from gggin/master

fix some document problem
parents 4b8cc94a e154f8e9
...@@ -131,8 +131,8 @@ StringStream source(s); ...@@ -131,8 +131,8 @@ StringStream source(s);
GenericStringBuffer<UTF16<> > target; GenericStringBuffer<UTF16<> > target;
bool hasError = false; bool hasError = false;
while (source.Peak() != '\0') while (source.Peek() != '\0')
if (!Transcoder::Transcode<UTF8<>, UTF16<> >(source, target)) { if (!Transcoder<UTF8<>, UTF16<> >::Transcode(source, target)) {
hasError = true; hasError = true;
break; break;
} }
......
...@@ -137,8 +137,8 @@ StringStream source(s); ...@@ -137,8 +137,8 @@ StringStream source(s);
GenericStringBuffer<UTF16<> > target; GenericStringBuffer<UTF16<> > target;
bool hasError = false; bool hasError = false;
while (source.Peak() != '\0') while (source.Peek() != '\0')
if (!Transcoder::Transcode<UTF8<>, UTF16<> >(source, target)) { if (!Transcoder<UTF8<>, UTF16<> >::Transcode(source, target)) {
hasError = true; hasError = true;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment