catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix for GitHub issue #71
- Commit
0dd3c572210730f31b2ac3576312235aaa83d6b0- Author
- Phil Nash ·
- Parents
dd5b9c2ae587
Changes
include/internal/catch_exception_translator_registry.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/internal/catch_exception_translator_registry.hpp b/include/internal/catch_exception_translator_registry.hpp index 45ed0971..98f383b8 100644 --- a/include/internal/catch_exception_translator_registry.hpp +++ b/include/internal/catch_exception_translator_registry.hpp @@ -18,6 +18,13 @@ namespace Catch { class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry { + /////////////////////////////////////////////////////////////////////// + ~ExceptionTranslatorRegistry + () + { + deleteAll( m_translators ); + } + /////////////////////////////////////////////////////////////////////// virtual void registerTranslator (