Some more reformatting.

Also fixed some warnings
This commit is contained in:
Phil Nash
2012-05-09 08:17:51 +01:00
parent e83f839741
commit d06dcedfdc
11 changed files with 56 additions and 152 deletions

View File

@@ -94,7 +94,7 @@ namespace Catch
}
ATTRIBUTE_NORETURN
inline void throwLogicError( const std::string& message, const std::string& file, long line ) {
inline void throwLogicError( const std::string& message, const std::string& file, std::size_t line ) {
std::ostringstream oss;
oss << "Internal Catch error: '" << message << "' at: " << SourceLineInfo( file, line );
throw std::logic_error( oss.str() );