diff --git a/include/internal/catch_common.h b/include/internal/catch_common.h index cac5d112..48504f15 100644 --- a/include/internal/catch_common.h +++ b/include/internal/catch_common.h @@ -109,11 +109,6 @@ namespace Catch { : file( _file ), 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 ) : file( other.file ), line( other.line ) @@ -126,7 +121,6 @@ namespace Catch { return file.empty(); } - std::string function; std::string file; std::size_t line; }; diff --git a/include/internal/catch_notimplemented_exception.hpp b/include/internal/catch_notimplemented_exception.hpp index b301fb1b..f051ed3d 100644 --- a/include/internal/catch_notimplemented_exception.hpp +++ b/include/internal/catch_notimplemented_exception.hpp @@ -17,8 +17,6 @@ namespace Catch { : m_lineInfo( lineInfo ) { std::ostringstream oss; oss << lineInfo << "function "; - if( !lineInfo.function.empty() ) - oss << lineInfo.function << " "; oss << "not implemented"; m_what = oss.str(); }