Skip to content

Commit

Permalink
Merge pull request #635 from gggin/master
Browse files Browse the repository at this point in the history
fix some document problem
  • Loading branch information
miloyip committed May 11, 2016
2 parents 4b8cc94 + e154f8e commit 30111db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions doc/encoding.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 30111db

Please sign in to comment.