Stop leaking some warning suppressions to user code

This commit is contained in:
Phil Nash
2017-11-29 19:14:33 +03:00
parent 8c32d0b644
commit b5a5d9a6f8
4 changed files with 12 additions and 9 deletions

View File

@@ -57,7 +57,9 @@ struct AutoTestReg {
REGISTER_TEST_CASE( manuallyRegisteredTestFunction, "ManuallyRegistered" );
}
};
CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS
static AutoTestReg autoTestReg;
CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS
#endif