mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 13:39:24 +00:00
Fixed uninitialised members in Context object
This commit is contained in:
parent
2b644b5128
commit
93a945cee9
6 changed files with 2160 additions and 13 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue