Some toString cleanups

This commit is contained in:
Phil Nash 2014-12-09 18:49:58 +00:00
parent 32186db1b0
commit b0545d1f12
5 changed files with 8 additions and 10 deletions

View file

@ -219,10 +219,9 @@ std::string toString( std::nullptr_t );
std::ostringstream oss;
oss << "{ ";
if( first != last ) {
oss << toString( *first );
for( ++first ; first != last ; ++first ) {
oss << ", " << toString( *first );
}
oss << Catch::toString( *first );
for( ++first ; first != last ; ++first )
oss << ", " << Catch::toString( *first );
}
oss << " }";
return oss.str();