Update catch.hpp

This commit is contained in:
GatoRat 2016-11-11 16:40:16 -08:00 committed by GitHub
parent b85e1b000e
commit 86bf762e00

View File

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