- replaced RAPIDJSON_NEW calls in fwdtest.cpp

This commit is contained in:
Andrey Glebov 2016-12-21 10:41:06 +03:00
parent 9fe93bb984
commit 3f120caeef

View File

@ -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() :
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))
{ {
} }