From 22ddf37cf094d1cd6782338d10db97bc1b722911 Mon Sep 17 00:00:00 2001 From: "miloyip@gmail.com" Date: Tue, 13 Nov 2012 09:46:54 +0000 Subject: [PATCH] Fixed issue 30 git-svn-id: https://rapidjson.googlecode.com/svn/trunk@70 c5894555-1306-4e8d-425f-1f6f381ee07c --- include/rapidjson/document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index b42f027..1f490d6 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -706,7 +706,7 @@ public: GenericDocument& ParseStream(InputStream& is) { ValueType::SetNull(); // Remove existing root if exist GenericReader reader; - if (reader.Parse(is, *this)) { + if (reader.template Parse(is, *this)) { RAPIDJSON_ASSERT(stack_.GetSize() == sizeof(ValueType)); // Got one and only one root object this->RawAssign(*stack_.template Pop(1)); // Add this-> to prevent issue 13. parseError_ = 0;