Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Removed bool warning

Commit
38edb9fa956aa1a62916bf19af5ed9ecb01b28bc
Author
Phil Nash ·
Parents
823ea3efd44b

Files · Download .tar.gz

Changes

 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 34f86f22..6fcf496a 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -508,7 +508,7 @@ public:
     operator MutableResultInfo&
     ()
     {
-        return m_result->captureBoolExpression( (bool)m_lhs );
+        return m_result->captureBoolExpression( m_lhs );
     }