mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-09 18:45:32 +02:00
Fixed std::tolower ambiguity
This commit is contained in:
parent
8c80abe2db
commit
bcab4455c2
@ -24,7 +24,7 @@ namespace Catch {
|
|||||||
return s.find( infix ) != std::string::npos;
|
return s.find( infix ) != std::string::npos;
|
||||||
}
|
}
|
||||||
void toLowerInPlace( std::string& s ) {
|
void toLowerInPlace( std::string& s ) {
|
||||||
std::transform( s.begin(), s.end(), s.begin(), std::tolower );
|
std::transform( s.begin(), s.end(), s.begin(), static_cast<int(*)(int)>(std::tolower) );
|
||||||
}
|
}
|
||||||
std::string toLower( std::string const& s ) {
|
std::string toLower( std::string const& s ) {
|
||||||
std::string lc = s;
|
std::string lc = s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user