mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 10:55:39 +02:00
Some toString cleanups
This commit is contained in:
@@ -75,7 +75,7 @@ std::string toString( std::wstring const& value ) {
|
||||
s.reserve( value.size() );
|
||||
for(size_t i = 0; i < value.size(); ++i )
|
||||
s += value[i] <= 0xff ? static_cast<char>( value[i] ) : '?';
|
||||
return toString( s );
|
||||
return Catch::toString( s );
|
||||
}
|
||||
|
||||
std::string toString( const char* const value ) {
|
||||
@@ -112,7 +112,7 @@ std::string toString( unsigned long value ) {
|
||||
}
|
||||
|
||||
std::string toString( unsigned int value ) {
|
||||
return toString( static_cast<unsigned long>( value ) );
|
||||
return Catch::toString( static_cast<unsigned long>( value ) );
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user