Address some of the Resharper finds for Catch 1

Closes #957 as the other findings are mostly noise that is pointless
to fix in a branch that will be soon EoLd.
This commit is contained in:
Martin Hořeňovský 2017-07-31 12:28:13 +02:00
parent d3377c791d
commit 8a2ff20982
3 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace Catch {
struct AssertionInfo
{
AssertionInfo() {}
AssertionInfo();
AssertionInfo( char const * _macroName,
SourceLineInfo const& _lineInfo,
char const * _capturedExpression,

View File

@ -13,6 +13,8 @@
namespace Catch {
AssertionInfo::AssertionInfo():macroName(""), capturedExpression(""), resultDisposition(ResultDisposition::Flags::Normal), secondArg(""){}
AssertionInfo::AssertionInfo( char const * _macroName,
SourceLineInfo const& _lineInfo,
char const * _capturedExpression,

View File

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