Suppressed a load of warnings

This commit is contained in:
Phil Nash
2014-05-19 18:57:14 +01:00
parent ebd4888fe1
commit 3bdc97d8ad
26 changed files with 103 additions and 37 deletions

View File

@@ -99,7 +99,6 @@ namespace Catch {
return node->stats.sectionInfo.lineInfo == m_other.lineInfo;
}
private:
BySectionInfo& operator=( BySectionInfo const& other ); // = delete;
SectionInfo const& m_other;
};

View File

@@ -142,7 +142,7 @@ namespace Catch {
private:
// Colour::LightGrey
static Colour dimColour() { return Colour::FileName; }
static Colour::Code dimColour() { return Colour::FileName; }
#ifdef CATCH_PLATFORM_MAC
static const char* failedString() { return "FAILED"; }
@@ -157,7 +157,7 @@ namespace Catch {
stream << result.getSourceInfo() << ":";
}
void printResultType( Colour colour, std::string passOrFail ) const {
void printResultType( Colour::Code colour, std::string passOrFail ) const {
if( !passOrFail.empty() ) {
{
Colour colourGuard( colour );
@@ -205,7 +205,7 @@ namespace Catch {
}
}
void printRemainingMessages( Colour colour = dimColour() ) {
void printRemainingMessages( Colour::Code colour = dimColour() ) {
if ( itMessage == messages.end() )
return;

View File

@@ -31,7 +31,7 @@ namespace Catch {
}
virtual void StartTesting() {
m_xml = XmlWriter( m_config.stream() );
m_xml.setStream( m_config.stream() );
m_xml.startElement( "Catch" );
if( !m_config.fullConfig()->name().empty() )
m_xml.writeAttribute( "name", m_config.fullConfig()->name() );