mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-14 18:29:33 +01:00
Made everything used in test case registration noexcept
- this prevents warnings about startup-time exceptions
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Catch {
|
||||
virtual void registerTest( TestCase const& testInfo ) = 0;
|
||||
virtual void registerTranslator( const IExceptionTranslator* translator ) = 0;
|
||||
virtual void registerTagAlias( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInfo ) = 0;
|
||||
virtual void registerStartupException( std::exception_ptr const& exception ) = 0;
|
||||
virtual void registerStartupException( std::exception_ptr const& exception ) noexcept = 0;
|
||||
};
|
||||
|
||||
IRegistryHub& getRegistryHub();
|
||||
|
||||
Reference in New Issue
Block a user