Fix build errors.

This commit is contained in:
Scott Hutchinson
2022-12-12 08:59:37 -08:00
parent 5dc0474d8a
commit ed3bcd3dd2
3 changed files with 3 additions and 5 deletions

View File

@@ -127,9 +127,7 @@ namespace Catch {
void FatalConditionHandler::disengage_platform() noexcept {
if (SetUnhandledExceptionFilter(previousTopLevelExceptionFilter) != topLevelExceptionFilter) {
Catch::cerr()
<< "Unexpected SEH unhandled exception filter on disengage."
<< " The filter was restored, but might be rolled back unexpectedly.";
CATCH_RUNTIME_ERROR("Could not restore previous top level exception filter");
}
previousTopLevelExceptionFilter = nullptr;
}