mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
Fix build errors.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user