Fix gcc warning

This commit is contained in:
Milo Yip 2016-02-03 13:29:25 +08:00
parent 021d746931
commit cefae77aa2

View File

@ -29,6 +29,11 @@
#include "rapidjson/reader.h"
#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
#endif
using namespace rapidjson_simd;
#ifdef RAPIDJSON_SSE2
@ -102,3 +107,7 @@ TEST(SIMD, SIMD_SUFFIX(ScanCopyUnescapedString)) {
TestScanCopyUnescapedString<StringStream>();
TestScanCopyUnescapedString<InsituStringStream>();
}
#ifdef __GNUC__
RAPIDJSON_DIAG_POP
#endif