initial draft of changes to support Borland c++ Builder 5 / free compiler 5.5

This commit is contained in:
Patrick Martin
2012-07-19 23:03:51 +01:00
parent b981632f7c
commit 203fd68187
8 changed files with 19 additions and 17 deletions

View File

@@ -71,7 +71,7 @@ namespace Catch {
if( counts.passed )
m_config.stream() << counts.failed << " of " << counts.total() << " " << label << "s failed";
else
m_config.stream() << ( counts.failed > 1 ? allPrefix : "" ) << pluralise( counts.failed, label ) << " failed";
m_config.stream() << ( counts.failed > 1 ? allPrefix : std::string() ) << pluralise( counts.failed, label ) << " failed";
}
void ReportCounts( const Totals& totals, const std::string& allPrefix = "All " ) {