Fixed gcc effc++ warning in dtoa.h
This commit is contained in:
parent
a7762a3453
commit
0d915644a4
@ -16,6 +16,11 @@
|
||||
namespace rapidjson {
|
||||
namespace internal {
|
||||
|
||||
#ifdef __GNUC__
|
||||
RAPIDJSON_DIAG_PUSH
|
||||
RAPIDJSON_DIAG_OFF(effc++)
|
||||
#endif
|
||||
|
||||
struct DiyFp {
|
||||
DiyFp() {}
|
||||
|
||||
@ -408,6 +413,10 @@ inline char* dtoa(double value, char* buffer) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
RAPIDJSON_DIAG_POP
|
||||
#endif
|
||||
|
||||
} // namespace internal
|
||||
} // namespace rapidjson
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user