Commit 0d915644 authored by Milo Yip's avatar Milo Yip

Fixed gcc effc++ warning in dtoa.h

parent a7762a34
...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
namespace rapidjson { namespace rapidjson {
namespace internal { namespace internal {
#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
#endif
struct DiyFp { struct DiyFp {
DiyFp() {} DiyFp() {}
...@@ -408,6 +413,10 @@ inline char* dtoa(double value, char* buffer) { ...@@ -408,6 +413,10 @@ inline char* dtoa(double value, char* buffer) {
} }
} }
#ifdef __GNUC__
RAPIDJSON_DIAG_POP
#endif
} // namespace internal } // namespace internal
} // namespace rapidjson } // namespace rapidjson
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment