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

Qualified handleExceptionMatchExpr in Catch::

(was picking it up by ADL before - no need to rely on that!)
Commit
2800adba2518da903dca9ca2766a54772eabb00c
Author
Phil Nash ·
Parents
ae1547e20259

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 69e47ed1..44368e5a 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -135,7 +135,7 @@
                 catchAssertionHandler.handle( Catch::ResultWas::DidntThrowException ); \
             } \
             catch( ... ) { \
-                handleExceptionMatchExpr( catchAssertionHandler, matcher, #matcher ); \
+                Catch::handleExceptionMatchExpr( catchAssertionHandler, matcher, #matcher ); \
             } \
         else \
             catchAssertionHandler.handle( Catch::ResultWas::Ok ); \