Changed initialization order to avoid some warnings when compiling with g++.
This commit is contained in:
1 parent
1b96cec8f2
commit
4aa36f6071
3 files changed
+12
-12
No files matched your search
@@ -74,9 +74,9 @@ namespace Catch
|
||||
{
|
||||
public:
|
||||
explicit Runner( const RunnerConfig& config )
|
||||
: m_successes( 0 ),
|
||||
: m_config( config ),
|
||||
m_successes( 0 ),
|
||||
m_failures( 0 ),
|
||||
m_config( config ),
|
||||
m_reporter( m_config.getReporter() )
|
||||
{
|
||||
m_reporter->StartTesting();
|
||||
@@ -219,4 +219,4 @@ namespace Catch
|
||||
};
|
||||
}
|
||||
|
||||
#endif // TWOBLUECUBES_INTERNAL_CATCH_RUNNER_HPP_INCLUDED
|
||||
#endif // TWOBLUECUBES_INTERNAL_CATCH_RUNNER_HPP_INCLUDED
|
||||
Reference in new issue
Block a user