diff options
Diffstat (limited to '3rdparty/catch/include/internal/catch_context_impl.hpp')
-rw-r--r-- | 3rdparty/catch/include/internal/catch_context_impl.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/catch/include/internal/catch_context_impl.hpp b/3rdparty/catch/include/internal/catch_context_impl.hpp index 030f29e2742..8516ad93b30 100644 --- a/3rdparty/catch/include/internal/catch_context_impl.hpp +++ b/3rdparty/catch/include/internal/catch_context_impl.hpp @@ -12,6 +12,7 @@ #include "catch_context.h" #include "catch_stream.hpp" +#include "catch_common.h" namespace Catch { @@ -21,6 +22,11 @@ namespace Catch { Context( Context const& ); void operator=( Context const& ); + public: + virtual ~Context() { + deleteAllValues( m_generatorsByTestName ); + } + public: // IContext virtual IResultCapture* getResultCapture() { return m_resultCapture; |