Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2015-09-18 08:12:56 +0100
committerPhil Nash2015-09-18 08:12:56 +0100
commita28d40e9410fc2b30fdd013a76fc44a59617cee0 (patch)
tree05b6ce08a4f8390a2d44c2c5309c06ea6bb9c10b /include
parent1dd0d4c61aa7a5e1bf72fd3c1cca8ab6d7ad5460 (diff)
parent7da777a4b716f267cb20faf5d117b1322a814519 (diff)
downloadcatch3-a28d40e9410fc2b30fdd013a76fc44a59617cee0.tar.gz
Merge pull request #496 from segalaj/master
Fix parentheses warning on expression evaluation when using ccache
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_capture.hpp2
1 files changed, 1 insertions, 1 deletions
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 ); \