mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-15 18:39:32 +01:00
Move std::exception_ptr out of interfaces
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Catch {
|
||||
lineInfo));
|
||||
} catch (...) {
|
||||
// Do not throw when constructing global objects, instead register the exception to be processed later
|
||||
getMutableRegistryHub().registerStartupException( std::current_exception() );
|
||||
getMutableRegistryHub().registerStartupException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user