diff options
| author | Oz | 2024-04-22 22:05:38 +0200 |
|---|---|---|
| committer | Oz | 2024-04-22 22:05:38 +0200 |
| commit | a2b2e1f707eb45cf1c136f03d597c299db10da2e (patch) | |
| tree | 89968b1eab27e97890328a743842bf54179cf8dc /include | |
| parent | a7782d1d7ca84b9cc4c0f3fc4abdec0951d722b2 (diff) | |
| download | catch3-a2b2e1f707eb45cf1c136f03d597c299db10da2e.tar.gz | |
Fix clang-tidy `bugprone-chained-comparison` warnings on v2.x
Diffstat (limited to 'include')
| -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 a65b3aec..c7d2f945 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -47,7 +47,7 @@ INTERNAL_CATCH_TRY { \ CATCH_INTERNAL_START_WARNINGS_SUPPRESSION \ CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \ - catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \ + catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); /* NOLINT(bugprone-chained-comparison) */ \ CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION \ } INTERNAL_CATCH_CATCH( catchAssertionHandler ) \ INTERNAL_CATCH_REACT( catchAssertionHandler ) \ |