A lambda-based C++ unit-testing framework.
Revisão | 573696871b6d4bbadb3b61b49c79037afb5c1952 (tree) |
---|---|
Hora | 2020-05-03 22:38:44 |
Autor | Kaz Nishimura <kazssym@linu...> |
Commiter | Kaz Nishimura |
Define the destructor of 'AssertionError'
@@ -33,6 +33,13 @@ | ||
33 | 33 | explicit AssertionError(const char *message) noexcept; |
34 | 34 | |
35 | 35 | explicit AssertionError(const std::string &message) noexcept; |
36 | + | |
37 | + public: | |
38 | + /// Destructs an `AssertionError` object. | |
39 | + /// | |
40 | + /// This destructor is defined out of line so that this class can be | |
41 | + /// provided by a shared library. | |
42 | + virtual ~AssertionError() noexcept; | |
36 | 43 | }; |
37 | 44 | } |
38 | 45 |
@@ -33,3 +33,7 @@ | ||
33 | 33 | : inherited {message} |
34 | 34 | { |
35 | 35 | } |
36 | + | |
37 | +AssertionError::~AssertionError() noexcept | |
38 | +{ | |
39 | +} |