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

Include proper exception header in enforce.h

Commit
3882ac1a1936a31abdc110bdaea9c64aa27daae2
Author
Martin Hořeňovský ·
Parents
e8b785b1775a

Files · Download .tar.gz

Changes

 include/internal/catch_enforce.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_enforce.h b/include/internal/catch_enforce.h
index b500949d..e489cf7e 100644
--- a/include/internal/catch_enforce.h
+++ b/include/internal/catch_enforce.h
@@ -10,7 +10,7 @@
 #include "catch_common.h"
 
 #include <sstream>
-#include <exception>
+#include <stdexcept>
 
 #define CATCH_PREPARE_EXCEPTION( type, msg ) \
     type( static_cast<std::ostringstream&&>( std::ostringstream() << msg ).str() )