Allow tests including catch to compile with g++ flags -Wall and -Werror.

This commit is contained in:
Michael Mortensen 2010-12-28 15:42:46 +01:00
parent 4aa36f6071
commit 9dfb8157a0
4 changed files with 17 additions and 6 deletions

View file

@ -130,6 +130,8 @@ namespace Catch
.writeText( resultInfo.getMessage() );
m_currentTestSuccess = false;
break;
default:
break;
}
if( resultInfo.hasExpression() )
m_xml.endElement();
@ -150,4 +152,4 @@ namespace Catch
} // end namespace Catch
#endif // TWOBLUECUBES_CATCH_REPORTER_XML_HPP_INCLUDED
#endif // TWOBLUECUBES_CATCH_REPORTER_XML_HPP_INCLUDED