[On behalf of Lexmark]: Initialize scalar fields in catch_test_spec_parser.hpp

This commit is contained in:
James Trey Nickelsen 2015-08-19 14:52:24 -05:00 committed by James Trey Nickelsen
parent e684a0f6d3
commit f31903ca3f

View File

@ -29,7 +29,12 @@ namespace Catch {
ITagAliasRegistry const* m_tagAliases; ITagAliasRegistry const* m_tagAliases;
public: public:
TestSpecParser( ITagAliasRegistry const& tagAliases ) : m_tagAliases( &tagAliases ) {} TestSpecParser( ITagAliasRegistry const& tagAliases )
: m_tagAliases( &tagAliases ),
m_mode( None ),
m_exclusion( false ),
m_start( std::string::npos ),
m_pos( 0 ) {}
TestSpecParser& parse( std::string const& arg ) { TestSpecParser& parse( std::string const& arg ) {
m_mode = None; m_mode = None;