mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-08 23:29:53 +01:00
Removed __FUNCTION__ from SourceLineInfo
This commit is contained in:
parent
2a1e8bfc6e
commit
a4e088c999
@ -109,11 +109,6 @@ namespace Catch {
|
|||||||
: file( _file ),
|
: file( _file ),
|
||||||
line( _line )
|
line( _line )
|
||||||
{}
|
{}
|
||||||
SourceLineInfo( const std::string& _function, const std::string& _file, std::size_t _line )
|
|
||||||
: function( _function ),
|
|
||||||
file( _file ),
|
|
||||||
line( _line )
|
|
||||||
{}
|
|
||||||
SourceLineInfo( const SourceLineInfo& other )
|
SourceLineInfo( const SourceLineInfo& other )
|
||||||
: file( other.file ),
|
: file( other.file ),
|
||||||
line( other.line )
|
line( other.line )
|
||||||
@ -126,7 +121,6 @@ namespace Catch {
|
|||||||
return file.empty();
|
return file.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string function;
|
|
||||||
std::string file;
|
std::string file;
|
||||||
std::size_t line;
|
std::size_t line;
|
||||||
};
|
};
|
||||||
|
@ -17,8 +17,6 @@ namespace Catch {
|
|||||||
: m_lineInfo( lineInfo ) {
|
: m_lineInfo( lineInfo ) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << lineInfo << "function ";
|
oss << lineInfo << "function ";
|
||||||
if( !lineInfo.function.empty() )
|
|
||||||
oss << lineInfo.function << " ";
|
|
||||||
oss << "not implemented";
|
oss << "not implemented";
|
||||||
m_what = oss.str();
|
m_what = oss.str();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user