mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 02:45:40 +02: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