mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 02:25:38 +02:00
Made everything used in test case registration noexcept
- this prevents warnings about startup-time exceptions
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Catch {
|
||||
virtual void registerTagAlias( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInfo ) override {
|
||||
m_tagAliasRegistry.add( alias, tag, lineInfo );
|
||||
}
|
||||
virtual void registerStartupException( std::exception_ptr const& exception ) override {
|
||||
virtual void registerStartupException( std::exception_ptr const& exception ) noexcept override {
|
||||
m_exceptionRegistry.add(exception);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user