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
diff options
context:
space:
mode:
authorKosta <konstantin.baumann@autodesk.com>2014-09-01 14:01:25 +0400
committerKosta <konstantin.baumann@autodesk.com>2014-09-01 14:01:25 +0400
commit697cf407c2312a4ab51ae10b5d7a9b3ea116debf (patch)
treed52385c2c3cfd999ca9415b74ef6d9c89ac69b20
parentd2a374b40c916127b3ce390c00bc126334e60982 (diff)
fixed a compiler error not caught by VS2012...
-rw-r--r--include/rapidjson/document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h
index b33ea07e..9c3d9acc 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);