diff options
author | Milo Yip <miloyip@gmail.com> | 2014-08-17 14:55:36 +0400 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2014-08-17 14:55:36 +0400 |
commit | d6513e251c362fa857021f6dd2bfc8605640d220 (patch) | |
tree | 7bc6fc8c42868c49d4dcfd7fea1c0103aaa546c7 /test | |
parent | 941aa93f458139c90ed21e708b59c7a09bc42cbc (diff) |
Fix a gcc compilation error
Diffstat (limited to 'test')
-rw-r--r-- | test/unittest/documenttest.cpp | 2 |
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] } ");
|