diff options
author | Milo Yip <miloyip@gmail.com> | 2017-01-24 09:54:50 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2017-01-24 09:54:50 +0300 |
commit | 3693e942b72831c82a100ede5f6fbe20dabcdeb7 (patch) | |
tree | 6695f9c4ab435c62f2082a9c1bdfc284413ac287 /include/rapidjson/prettywriter.h | |
parent | 942bb46088751c0fb1db8e6e61c1ffe24000876f (diff) |
Fix output character type in writers
Diffstat (limited to 'include/rapidjson/prettywriter.h')
-rw-r--r-- | include/rapidjson/prettywriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/prettywriter.h b/include/rapidjson/prettywriter.h index abd964f6..d663208a 100644 --- a/include/rapidjson/prettywriter.h +++ b/include/rapidjson/prettywriter.h @@ -249,7 +249,7 @@ protected: void WriteIndent() { size_t count = (Base::level_stack_.GetSize() / sizeof(typename Base::Level)) * indentCharCount_; - PutN(*Base::os_, static_cast<typename TargetEncoding::Ch>(indentChar_), count); + PutN(*Base::os_, static_cast<typename OutputStream::Ch>(indentChar_), count); } Ch indentChar_; |