@@ -118,23 +118,23 @@ Foo::Foo() :
118
118
memorypoolallocator(RAPIDJSON_NEW(MemoryPoolAllocator<>)),
119
119
120
120
// stream.h
121
- stringstream(RAPIDJSON_NEW(StringStream( 0 ) )),
122
- insitustringstream(RAPIDJSON_NEW(InsituStringStream( 0 ) )),
121
+ stringstream(RAPIDJSON_NEW(StringStream, NULL )),
122
+ insitustringstream(RAPIDJSON_NEW(InsituStringStream, NULL )),
123
123
124
124
// stringbuffer.h
125
125
stringbuffer(RAPIDJSON_NEW(StringBuffer)),
126
126
127
127
// // filereadstream.h
128
- // filereadstream(RAPIDJSON_NEW(FileReadStream( stdout, buffer, sizeof(buffer) ))),
128
+ // filereadstream(RAPIDJSON_NEW(FileReadStream, stdout, buffer, sizeof(buffer))),
129
129
130
130
// // filewritestream.h
131
- // filewritestream(RAPIDJSON_NEW(FileWriteStream( stdout, buffer, sizeof(buffer) ))),
131
+ // filewritestream(RAPIDJSON_NEW(FileWriteStream, stdout, buffer, sizeof(buffer))),
132
132
133
133
// memorybuffer.h
134
134
memorybuffer(RAPIDJSON_NEW(MemoryBuffer)),
135
135
136
136
// memorystream.h
137
- memorystream(RAPIDJSON_NEW(MemoryStream( 0 , 0 ) )),
137
+ memorystream(RAPIDJSON_NEW(MemoryStream, NULL , 0 )),
138
138
139
139
// reader.h
140
140
basereaderhandler(RAPIDJSON_NEW((BaseReaderHandler<UTF8<>, void >))),
@@ -154,8 +154,8 @@ Foo::Foo() :
154
154
pointer(RAPIDJSON_NEW(Pointer)),
155
155
156
156
// schema.h
157
- schemadocument(RAPIDJSON_NEW(SchemaDocument( *document) )),
158
- schemavalidator(RAPIDJSON_NEW(SchemaValidator( *schemadocument) ))
157
+ schemadocument(RAPIDJSON_NEW(SchemaDocument, *document)),
158
+ schemavalidator(RAPIDJSON_NEW(SchemaValidator, *schemadocument))
159
159
{
160
160
161
161
}
0 commit comments