diff options
| author | Phil Nash | 2013-10-23 15:35:07 +0100 |
|---|---|---|
| committer | Phil Nash | 2013-10-23 15:35:07 +0100 |
| commit | 93a945cee9d41236c91995f0bec563bcacbfc5c8 (patch) | |
| tree | 770344ead5fac6f886a4d2c3eeb7ea7d4ed1dd3b /include/internal | |
| parent | 2b644b5128ce2ba4a1faf36e8a17e05f7a7cb4c7 (diff) | |
| download | catch3-93a945cee9d41236c91995f0bec563bcacbfc5c8.tar.gz | |
Fixed uninitialised members in Context object
Diffstat (limited to 'include/internal')
| -rw-r--r-- | include/internal/catch_context_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/catch_context_impl.hpp b/include/internal/catch_context_impl.hpp index 11ef98e1..0dd326c5 100644 --- a/include/internal/catch_context_impl.hpp +++ b/include/internal/catch_context_impl.hpp @@ -17,7 +17,7 @@ namespace Catch { class Context : public IMutableContext { - Context() : m_config( NULL ) {} + Context() : m_config( NULL ), m_runner( NULL ), m_resultCapture( NULL ) {} Context( Context const& ); void operator=( Context const& ); @@ -77,9 +77,9 @@ namespace Catch { } private: + Ptr<IConfig const> m_config; IRunner* m_runner; IResultCapture* m_resultCapture; - Ptr<IConfig const> m_config; std::map<std::string, IGeneratorsForTest*> m_generatorsByTestName; }; |