Replace tabs with spaces in main include files

This commit is contained in:
stijn 2015-04-15 14:06:47 +02:00
parent 4af4405ce1
commit 3cb98ada0b
4 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ namespace Catch {
IResultCapture* resultCapture = context.getResultCapture();
resultCapture->handleFatalErrorCondition( message );
if( Catch::alwaysTrue() ) // avoids "no return" warnings
if( Catch::alwaysTrue() ) // avoids "no return" warnings
exit( exitCode );
}
@ -29,8 +29,8 @@ namespace Catch {
namespace Catch {
struct FatalConditionHandler {
void reset() {}
};
void reset() {}
};
} // namespace Catch

View File

@ -88,12 +88,12 @@ std::string toString( char* const value ) {
std::string toString( const wchar_t* const value )
{
return value ? Catch::toString( std::wstring(value) ) : std::string( "{null string}" );
return value ? Catch::toString( std::wstring(value) ) : std::string( "{null string}" );
}
std::string toString( wchar_t* const value )
{
return Catch::toString( static_cast<const wchar_t*>( value ) );
return Catch::toString( static_cast<const wchar_t*>( value ) );
}
std::string toString( int value ) {

View File

@ -101,12 +101,12 @@ namespace Catch {
struct BySectionInfo {
BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
bool operator() ( Ptr<SectionNode> const& node ) const {
return node->stats.sectionInfo.lineInfo == m_other.lineInfo;
}
private:
void operator=( BySectionInfo const& );
void operator=( BySectionInfo const& );
SectionInfo const& m_other;
};

View File

@ -99,7 +99,7 @@ namespace Catch {
if( assertionResult.hasExpression() ) {
m_xml.startElement( "Expression" )
.writeAttribute( "success", assertionResult.succeeded() )
.writeAttribute( "type", assertionResult.getTestMacroName() )
.writeAttribute( "type", assertionResult.getTestMacroName() )
.writeAttribute( "filename", assertionResult.getSourceInfo().file )
.writeAttribute( "line", assertionResult.getSourceInfo().line );