Commit 7b32bbaa authored by liujiayang's avatar liujiayang

fix document problem

parent 4b8cc94a
...@@ -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