mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Removed single char contains()
- had incorrect prototype anyway
This commit is contained in:
		| @@ -82,7 +82,6 @@ namespace Catch { | ||||
|     bool endsWith( std::string const& s, std::string const& suffix ); | ||||
|     bool endsWith( std::string const& s, char suffix ); | ||||
|     bool contains( std::string const& s, std::string const& infix ); | ||||
|     bool contains( std::string const& s, std::string const& infix ); | ||||
|     void toLowerInPlace( std::string& s ); | ||||
|     std::string toLower( std::string const& s ); | ||||
|     std::string trim( std::string const& str ); | ||||
|   | ||||
| @@ -30,9 +30,6 @@ namespace Catch { | ||||
|     bool contains( std::string const& s, std::string const& infix ) { | ||||
|         return s.find( infix ) != std::string::npos; | ||||
|     } | ||||
|     bool contains( std::string const& s, char infix ) { | ||||
|         return s.find(infix) != std::string::npos; | ||||
|     } | ||||
|     char toLowerCh(char c) { | ||||
|         return static_cast<char>( std::tolower( c ) ); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash