Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2014-08-17 14:55:36 +0400
committerMilo Yip <miloyip@gmail.com>2014-08-17 14:55:36 +0400
commitd6513e251c362fa857021f6dd2bfc8605640d220 (patch)
tree7bc6fc8c42868c49d4dcfd7fea1c0103aaa546c7 /test
parent941aa93f458139c90ed21e708b59c7a09bc42cbc (diff)
Fix a gcc compilation error
Diffstat (limited to 'test')
-rw-r--r--test/unittest/documenttest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest/documenttest.cpp b/test/unittest/documenttest.cpp
index 2fb5cf2d..58093618 100644
--- a/test/unittest/documenttest.cpp
+++ b/test/unittest/documenttest.cpp
@@ -31,7 +31,7 @@ using namespace rapidjson;
template <typename Allocator, typename StackAllocator>
void ParseTest() {
typedef GenericDocument<UTF8<>, 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] } ");