mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Suppressed a load of warnings
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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() );
|
||||
|
Reference in New Issue
Block a user