From 7da777a4b716f267cb20faf5d117b1322a814519 Mon Sep 17 00:00:00 2001 From: segalaj Date: Mon, 14 Sep 2015 14:28:34 +0200 Subject: [PATCH] Fix parentheses warning on expression evaluation when using ccache --- include/internal/catch_capture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp index 7bfef0e1..a8db94be 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -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 ); \