From 697cf407c2312a4ab51ae10b5d7a9b3ea116debf Mon Sep 17 00:00:00 2001 From: Kosta Date: Mon, 1 Sep 2014 12:01:25 +0200 Subject: [PATCH] fixed a compiler error not caught by VS2012... --- 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 b33ea07..9c3d9ac 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -1336,7 +1336,7 @@ int z = a[0u].GetInt(); // This works too. return handler.EndArray(data_.a.size); case kStringType: - return handler.String(data_.GetString(), data_.GetStringLength(), (flags_ & kCopyFlag) != 0); + return handler.String(GetString(), GetStringLength(), (flags_ & kCopyFlag) != 0); case kNumberType: if (IsInt()) return handler.Int(data_.n.i.i);