Fix the last warning fix

This commit is contained in:
Milo Yip
2016-02-02 18:36:27 +08:00
parent 5f819ea1d3
commit f422094b9f
2 changed files with 9 additions and 9 deletions

View File

@@ -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