diff --git a/test/unittest/documenttest.cpp b/test/unittest/documenttest.cpp index 2fb5cf2..5809361 100644 --- a/test/unittest/documenttest.cpp +++ b/test/unittest/documenttest.cpp @@ -31,7 +31,7 @@ using namespace rapidjson; template void ParseTest() { typedef GenericDocument, Allocator, StackAllocator> DocumentType; - typedef DocumentType::ValueType ValueType; + typedef typename DocumentType::ValueType ValueType; DocumentType doc; doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ");