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:
authorSergey Kosarevsky <sk@linderdaum.com>2016-02-28 20:50:04 +0300
committerSergey Kosarevsky <sk@linderdaum.com>2016-02-28 20:50:04 +0300
commit2bbfe0d8a8df25f2a61a19544360e0a5482e673d (patch)
tree6676eb92e6252ef92ece6f7603f651fac767eee3 /include/rapidjson/document.h
parent4f94ec9b0bc63f3de9d1f59b16a9cdf8e7532832 (diff)
Number() -> RawNumber() to avoid name clashes with the union Number
Diffstat (limited to 'include/rapidjson/document.h')
-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 7b46873f..18c25271 100644
--- a/include/rapidjson/document.h
+++ b/include/rapidjson/document.h
@@ -2325,7 +2325,7 @@ public:
bool Uint64(uint64_t i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
bool Double(double d) { new (stack_.template Push<ValueType>()) ValueType(d); return true; }
- bool Number(const Ch* str, SizeType length, bool copy) {
+ bool RawNumber(const Ch* str, SizeType length, bool copy) {
if (copy)
new (stack_.template Push<ValueType>()) ValueType(str, length, GetAllocator());
else