From 7b32bbaae7fb4474bc848a783e8189ee0184349d Mon Sep 17 00:00:00 2001 From: liujiayang Date: Wed, 11 May 2016 10:59:56 +0800 Subject: [PATCH] fix document problem --- doc/encoding.md | 4 ++-- doc/encoding.zh-cn.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/encoding.md b/doc/encoding.md index e9ebe8f..62ceb4b 100644 --- a/doc/encoding.md +++ b/doc/encoding.md @@ -131,8 +131,8 @@ StringStream source(s); GenericStringBuffer > target; bool hasError = false; -while (source.Peak() != '\0') - if (!Transcoder::Transcode, UTF16<> >(source, target)) { +while (source.Peek() != '\0') + if (!Transcoder, UTF16<>>::Transcode(source, target)) { hasError = true; break; } diff --git a/doc/encoding.zh-cn.md b/doc/encoding.zh-cn.md index 4858bae..8ab0bd3 100644 --- a/doc/encoding.zh-cn.md +++ b/doc/encoding.zh-cn.md @@ -137,8 +137,8 @@ StringStream source(s); GenericStringBuffer > target; bool hasError = false; -while (source.Peak() != '\0') - if (!Transcoder::Transcode, UTF16<> >(source, target)) { +while (source.Peek() != '\0') + if (!Transcoder, UTF16<>>::Transcode(source, target)) { hasError = true; break; }