mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 19:10:24 +01:00
Fix the last warning fix
This commit is contained in:
@@ -14,6 +14,11 @@
|
||||
|
||||
#include "unittest.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
RAPIDJSON_DIAG_PUSH
|
||||
RAPIDJSON_DIAG_OFF(effc++)
|
||||
#endif
|
||||
|
||||
// Using forward declared types here.
|
||||
|
||||
#include "rapidjson/fwd.h"
|
||||
@@ -206,3 +211,7 @@ Foo::~Foo() {
|
||||
TEST(Fwd, Fwd) {
|
||||
Foo f;
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
RAPIDJSON_DIAG_POP
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user