SourceLineInfo takes char*s instead of std::strings

This commit is contained in:
Phil Nash 2013-12-04 08:12:30 +00:00
parent 47a5ad3038
commit 87b20e8dab
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ namespace Catch {
}
SourceLineInfo::SourceLineInfo() : line( 0 ){}
SourceLineInfo::SourceLineInfo( std::string const& _file, std::size_t _line )
SourceLineInfo::SourceLineInfo( char const* _file, std::size_t _line )
: file( _file ),
line( _line )
{}