mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 02:53:13 +01:00
Try to fix a compilation error on gcc/clang
This commit is contained in:
@@ -213,7 +213,7 @@ TEST(Document, AcceptWriter) {
|
||||
}
|
||||
|
||||
TEST(Document, UserBuffer) {
|
||||
typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<>> DocumentType;
|
||||
typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<> > DocumentType;
|
||||
char valueBuffer[4096];
|
||||
char parseBuffer[1024];
|
||||
MemoryPoolAllocator<> valueAllocator(valueBuffer, sizeof(valueBuffer));
|
||||
|
||||
Reference in New Issue
Block a user