mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 13:19:55 +01:00
Merge pull request #496 from segalaj/master
Fix parentheses warning on expression evaluation when using ccache
This commit is contained in:
commit
a28d40e941
@ -33,7 +33,7 @@
|
||||
do { \
|
||||
Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \
|
||||
try { \
|
||||
( __catchResult <= expr ).endExpression(); \
|
||||
( __catchResult <= (expr) ).endExpression(); \
|
||||
} \
|
||||
catch( ... ) { \
|
||||
__catchResult.useActiveException( Catch::ResultDisposition::Normal ); \
|
||||
|
Loading…
Reference in New Issue
Block a user