From d6513e251c362fa857021f6dd2bfc8605640d220 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Sun, 17 Aug 2014 18:55:36 +0800 Subject: [PATCH] Fix a gcc compilation error --- test/unittest/documenttest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] } ");