Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorPhil Nash2012-11-02 08:29:03 +0000
committerPhil Nash2012-11-02 08:29:03 +0000
commita4e088c999439e9ec0fe3a4205b7520fbf258a5f (patch)
treed37fa145b2a827c190187c6048366944b2a93679 /include/internal
parent2a1e8bfc6ed3bcc1e3746d717726a9e525de6369 (diff)
downloadcatch3-a4e088c999439e9ec0fe3a4205b7520fbf258a5f.tar.gz
Removed __FUNCTION__ from SourceLineInfo
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_common.h6
-rw-r--r--include/internal/catch_notimplemented_exception.hpp2
2 files changed, 0 insertions, 8 deletions
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();
}