From c359076e8ad5d8be45a56dee013f414a5485050b Mon Sep 17 00:00:00 2001 From: Martin Sternevald Date: Sat, 10 Dec 2022 12:44:09 +0100 Subject: [PATCH] Fix missing include causing compiler error catch_registry_hub.cpp:65:17: error: use of undeclared identifier 'CATCH_INTERNAL_ERROR' CATCH_INTERNAL_ERROR("Attempted to register active exception under CATCH_CONFIG_DISABLE_EXCEPTIONS!"); --- include/internal/catch_registry_hub.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/internal/catch_registry_hub.cpp b/include/internal/catch_registry_hub.cpp index 852b34e0..0b344e2a 100644 --- a/include/internal/catch_registry_hub.cpp +++ b/include/internal/catch_registry_hub.cpp @@ -9,6 +9,7 @@ #include "catch_interfaces_registry_hub.h" #include "catch_context.h" +#include "catch_enforce.h" #include "catch_test_case_registry_impl.h" #include "catch_reporter_registry.h" #include "catch_exception_translator_registry.h"