1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-03 13:33:53 +00:00

Fix parentheses warning on expression evaluation when using ccache

This commit is contained in:
segalaj 2015-09-14 14:28:34 +02:00
parent 1dd0d4c61a
commit 7da777a4b7

View File

@ -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 ); \