push/pop warnings when disabling parentheses warnings within assertion (gcc/ clang)

This commit is contained in:
Phil Nash committed 2017-02-15 10:03:28 +00:00
1 parent c9a37c59c4
commit fe690a68ef
2 files changed
+14 -2

No files matched your search

+1
View File
@@ -45,6 +45,7 @@
try { \
CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \
( __catchResult <= expr ).endExpression(); \
CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS \
} \
catch( ... ) { \
__catchResult.useActiveException( resultDisposition ); \