diff options
author | Milo Yip <miloyip@gmail.com> | 2016-03-05 05:34:00 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2016-03-05 05:34:00 +0300 |
commit | 01b2d463f745e6019ad32ea2e0e8e3d51def0d38 (patch) | |
tree | b2702e3126f8c0fe953fb5aeed03249b7f6ed1d2 /include/rapidjson/document.h | |
parent | 91fabf04619649c3f68958fea1ae1a4b9844a981 (diff) |
Fix #573
Diffstat (limited to 'include/rapidjson/document.h')
-rw-r--r-- | include/rapidjson/document.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index d1f1b6f5..855543ef 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -1649,7 +1649,6 @@ public: /*! \note If the value is 64-bit integer type, it may lose precision. Use \c IsLosslessFloat() to check whether the converison is lossless. */ float GetFloat() const { - RAPIDJSON_ASSERT(IsFloat()); return static_cast<float>(GetDouble()); } |