diff options
author | 2017-02-05 15:45:26 +0100 | |
---|---|---|
committer | 2017-02-05 15:46:07 +0100 | |
commit | 02c97cd0f7c4d630f1a90f9f2626746e47a28c09 (patch) | |
tree | 2b48d051a55f2b65525824546cd9fcf9e05907cf /3rdparty/catch/include/internal/catch_context_impl.hpp | |
parent | d20b4ba6864b45d0c068d98d43e63c8bc5014a3b (diff) |
Updated Catch to latest (nw)
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; |