Try to fix a compilation error on gcc/clang

This commit is contained in:
Milo Yip 2015-04-03 11:35:32 +08:00
parent fc18b12880
commit b8cc02e0aa

View File

@ -213,7 +213,7 @@ TEST(Document, AcceptWriter) {
} }
TEST(Document, UserBuffer) { TEST(Document, UserBuffer) {
typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<>> DocumentType; typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<> > DocumentType;
char valueBuffer[4096]; char valueBuffer[4096];
char parseBuffer[1024]; char parseBuffer[1024];
MemoryPoolAllocator<> valueAllocator(valueBuffer, sizeof(valueBuffer)); MemoryPoolAllocator<> valueAllocator(valueBuffer, sizeof(valueBuffer));