Squashed some warnings about local variables shadowing members

- see #444
This commit is contained in:
Phil Nash 2015-07-01 07:50:53 +01:00
parent 805de43a3d
commit 680b1a881b
2 changed files with 8 additions and 8 deletions

View file

@ -59,11 +59,11 @@ namespace Catch {
public:
explicit RunContext( Ptr<IConfig const> const& config, Ptr<IStreamingReporter> const& reporter )
: m_runInfo( config->name() ),
explicit RunContext( Ptr<IConfig const> const& _config, Ptr<IStreamingReporter> const& reporter )
: m_runInfo( _config->name() ),
m_context( getCurrentMutableContext() ),
m_activeTestCase( CATCH_NULL ),
m_config( config ),
m_config( _config ),
m_reporter( reporter ),
m_prevRunner( m_context.getRunner() ),
m_prevResultCapture( m_context.getResultCapture() ),