Move std::exception_ptr out of interfaces

This commit is contained in:
Martin Hořeňovský
2017-07-27 12:24:52 +02:00
parent 307eeefa8f
commit 446bad752f
4 changed files with 5 additions and 5 deletions

View File

@@ -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();
}
}
}