mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-24 21:45:39 +02:00
Made everything used in test case registration noexcept
- this prevents warnings about startup-time exceptions
This commit is contained in:
@@ -16,8 +16,8 @@ namespace Catch {
|
||||
|
||||
class StartupExceptionRegistry {
|
||||
public:
|
||||
void add(std::exception_ptr const& exception);
|
||||
std::vector<std::exception_ptr> const& getExceptions() const;
|
||||
void add(std::exception_ptr const& exception) noexcept;
|
||||
std::vector<std::exception_ptr> const& getExceptions() const noexcept;
|
||||
private:
|
||||
std::vector<std::exception_ptr> m_exceptions;
|
||||
};
|
||||
|
Reference in New Issue
Block a user