diff options
| author | Phil Nash | 2015-09-18 08:12:56 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-09-18 08:12:56 +0100 |
| commit | a28d40e9410fc2b30fdd013a76fc44a59617cee0 (patch) | |
| tree | 05b6ce08a4f8390a2d44c2c5309c06ea6bb9c10b /include/internal | |
| parent | 1dd0d4c61aa7a5e1bf72fd3c1cca8ab6d7ad5460 (diff) | |
| parent | 7da777a4b716f267cb20faf5d117b1322a814519 (diff) | |
| download | catch3-a28d40e9410fc2b30fdd013a76fc44a59617cee0.tar.gz | |
Merge pull request #496 from segalaj/master
Fix parentheses warning on expression evaluation when using ccache
Diffstat (limited to 'include/internal')
| -rw-r--r-- | include/internal/catch_capture.hpp | 2 |
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 ); \ |