mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 11:31:57 +01:00
Fix gcc warning
This commit is contained in:
@@ -29,6 +29,11 @@
|
|||||||
|
|
||||||
#include "rapidjson/reader.h"
|
#include "rapidjson/reader.h"
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
RAPIDJSON_DIAG_PUSH
|
||||||
|
RAPIDJSON_DIAG_OFF(effc++)
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace rapidjson_simd;
|
using namespace rapidjson_simd;
|
||||||
|
|
||||||
#ifdef RAPIDJSON_SSE2
|
#ifdef RAPIDJSON_SSE2
|
||||||
@@ -102,3 +107,7 @@ TEST(SIMD, SIMD_SUFFIX(ScanCopyUnescapedString)) {
|
|||||||
TestScanCopyUnescapedString<StringStream>();
|
TestScanCopyUnescapedString<StringStream>();
|
||||||
TestScanCopyUnescapedString<InsituStringStream>();
|
TestScanCopyUnescapedString<InsituStringStream>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
RAPIDJSON_DIAG_POP
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user