mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
@@ -67,9 +67,9 @@ namespace Catch
|
||||
struct SourceLineInfo
|
||||
{
|
||||
SourceLineInfo() : line( 0 ){}
|
||||
SourceLineInfo( const std::string& file, std::size_t line )
|
||||
: file( file ),
|
||||
line( line )
|
||||
SourceLineInfo( const std::string& _file, std::size_t _line )
|
||||
: file( _file ),
|
||||
line( _line )
|
||||
{}
|
||||
SourceLineInfo( const SourceLineInfo& other )
|
||||
: file( other.file ),
|
||||
|
@@ -103,7 +103,7 @@ inline std::string toString( unsigned long value ) {
|
||||
}
|
||||
|
||||
inline std::string toString( unsigned int value ) {
|
||||
return toString( (unsigned long)value );
|
||||
return toString( static_cast<unsigned long>( value ) );
|
||||
}
|
||||
|
||||
inline std::string toString( const double value ) {
|
||||
|
Reference in New Issue
Block a user