Remove C++98 backcompat from toString
This commit is contained in:
parent
7c900660ef
commit
c6980ec2d8
2 changed files with 3 additions and 42 deletions
|
@ -169,7 +169,6 @@ std::string toString( unsigned char value ) {
|
|||
return toString( static_cast<char>( value ) );
|
||||
}
|
||||
|
||||
#ifdef CATCH_CONFIG_CPP11_LONG_LONG
|
||||
std::string toString( long long value ) {
|
||||
std::ostringstream oss;
|
||||
oss << value;
|
||||
|
@ -184,13 +183,10 @@ std::string toString( unsigned long long value ) {
|
|||
oss << " (0x" << std::hex << value << ')';
|
||||
return oss.str();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CATCH_CONFIG_CPP11_NULLPTR
|
||||
std::string toString( std::nullptr_t ) {
|
||||
return "nullptr";
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
std::string toString( NSString const * const& nsstring ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue