Commit 3f120cae authored by Andrey Glebov's avatar Andrey Glebov

- replaced RAPIDJSON_NEW calls in fwdtest.cpp

parent 9fe93bb9
...@@ -118,23 +118,23 @@ Foo::Foo() : ...@@ -118,23 +118,23 @@ Foo::Foo() :
memorypoolallocator(RAPIDJSON_NEW(MemoryPoolAllocator<>)), memorypoolallocator(RAPIDJSON_NEW(MemoryPoolAllocator<>)),
// stream.h // stream.h
stringstream(RAPIDJSON_NEW(StringStream(0))), stringstream(RAPIDJSON_NEW(StringStream, NULL)),
insitustringstream(RAPIDJSON_NEW(InsituStringStream(0))), insitustringstream(RAPIDJSON_NEW(InsituStringStream, NULL)),
// stringbuffer.h // stringbuffer.h
stringbuffer(RAPIDJSON_NEW(StringBuffer)), stringbuffer(RAPIDJSON_NEW(StringBuffer)),
// // filereadstream.h // // filereadstream.h
// filereadstream(RAPIDJSON_NEW(FileReadStream(stdout, buffer, sizeof(buffer)))), // filereadstream(RAPIDJSON_NEW(FileReadStream, stdout, buffer, sizeof(buffer))),
// // filewritestream.h // // filewritestream.h
// filewritestream(RAPIDJSON_NEW(FileWriteStream(stdout, buffer, sizeof(buffer)))), // filewritestream(RAPIDJSON_NEW(FileWriteStream, stdout, buffer, sizeof(buffer))),
// memorybuffer.h // memorybuffer.h
memorybuffer(RAPIDJSON_NEW(MemoryBuffer)), memorybuffer(RAPIDJSON_NEW(MemoryBuffer)),
// memorystream.h // memorystream.h
memorystream(RAPIDJSON_NEW(MemoryStream(0, 0))), memorystream(RAPIDJSON_NEW(MemoryStream, NULL, 0)),
// reader.h // reader.h
basereaderhandler(RAPIDJSON_NEW((BaseReaderHandler<UTF8<>, void>))), basereaderhandler(RAPIDJSON_NEW((BaseReaderHandler<UTF8<>, void>))),
...@@ -154,8 +154,8 @@ Foo::Foo() : ...@@ -154,8 +154,8 @@ Foo::Foo() :
pointer(RAPIDJSON_NEW(Pointer)), pointer(RAPIDJSON_NEW(Pointer)),
// schema.h // schema.h
schemadocument(RAPIDJSON_NEW(SchemaDocument(*document))), schemadocument(RAPIDJSON_NEW(SchemaDocument, *document)),
schemavalidator(RAPIDJSON_NEW(SchemaValidator(*schemadocument))) schemavalidator(RAPIDJSON_NEW(SchemaValidator, *schemadocument))
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment