Changed initialization order to avoid some warnings when compiling with g++.

This commit is contained in:
Michael Mortensen committed 2010-12-28 15:17:27 +01:00
1 parent 1b96cec8f2
commit 4aa36f6071
3 files changed
+12 -12

No files matched your search

+3 -3
View File
@@ -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