fix document problem

This commit is contained in:
liujiayang 2016-05-11 10:59:56 +08:00
parent 4b8cc94a25
commit 7b32bbaae7
2 changed files with 4 additions and 4 deletions

View File

@ -131,8 +131,8 @@ StringStream source(s);
GenericStringBuffer<UTF16<> > target;
bool hasError = false;
while (source.Peak() != '\0')
if (!Transcoder::Transcode<UTF8<>, UTF16<> >(source, target)) {
while (source.Peek() != '\0')
if (!Transcoder<UTF8<>, UTF16<>>::Transcode(source, target)) {
hasError = true;
break;
}

View File

@ -137,8 +137,8 @@ StringStream source(s);
GenericStringBuffer<UTF16<> > target;
bool hasError = false;
while (source.Peak() != '\0')
if (!Transcoder::Transcode<UTF8<>, UTF16<> >(source, target)) {
while (source.Peek() != '\0')
if (!Transcoder<UTF8<>, UTF16<>>::Transcode(source, target)) {
hasError = true;
break;
}