Fix a gcc compilation error
This commit is contained in:
parent
941aa93f45
commit
d6513e251c
@ -31,7 +31,7 @@ using namespace rapidjson;
|
|||||||
template <typename Allocator, typename StackAllocator>
|
template <typename Allocator, typename StackAllocator>
|
||||||
void ParseTest() {
|
void ParseTest() {
|
||||||
typedef GenericDocument<UTF8<>, Allocator, StackAllocator> DocumentType;
|
typedef GenericDocument<UTF8<>, Allocator, StackAllocator> DocumentType;
|
||||||
typedef DocumentType::ValueType ValueType;
|
typedef typename DocumentType::ValueType ValueType;
|
||||||
DocumentType doc;
|
DocumentType doc;
|
||||||
|
|
||||||
doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ");
|
doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user