14 lines
725 B
Diff
14 lines
725 B
Diff
|
See: https://github.com/Tencent/rapidjson/pull/909
|
||
|
|
||
|
--- a/include/rapidjson/prettywriter.h
|
||
|
+++ b/include/rapidjson/prettywriter.h
|
||
|
@@ -47,7 +47,7 @@ enum PrettyFormatOptions {
|
||
|
template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
|
||
|
class PrettyWriter : public Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags> {
|
||
|
public:
|
||
|
- typedef Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator> Base;
|
||
|
+ typedef Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags> Base;
|
||
|
typedef typename Base::Ch Ch;
|
||
|
|
||
|
//! Constructor
|