mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-31 23:21:52 +01:00
Compilation warnings fix (#791)
* Compilation warnings fix * Removed unused argument from reportFatal function
This commit is contained in:
committed by
Martin Hořeňovský
parent
c390c4cb9f
commit
02a69b449f
@@ -28,7 +28,7 @@ namespace Catch {
|
||||
return s.find( infix ) != std::string::npos;
|
||||
}
|
||||
bool contains( std::string const& s, char infix ) {
|
||||
return s.find(infix);
|
||||
return s.find(infix) != std::string::npos;
|
||||
}
|
||||
char toLowerCh(char c) {
|
||||
return static_cast<char>( ::tolower( c ) );
|
||||
|
||||
Reference in New Issue
Block a user