Merge pull request #496 from segalaj/master

Fix parentheses warning on expression evaluation when using ccache
This commit is contained in:
Phil Nash 2015-09-18 08:12:56 +01:00
commit a28d40e941

View File

@ -33,7 +33,7 @@
do { \ do { \
Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \ Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \
try { \ try { \
( __catchResult <= expr ).endExpression(); \ ( __catchResult <= (expr) ).endExpression(); \
} \ } \
catch( ... ) { \ catch( ... ) { \
__catchResult.useActiveException( Catch::ResultDisposition::Normal ); \ __catchResult.useActiveException( Catch::ResultDisposition::Normal ); \