mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-10 11:05:33 +02:00
Reverted std::tolower to ::tolower
This commit is contained in:
parent
a84ca2e2f7
commit
7ae2f08fa5
@ -22,7 +22,7 @@ namespace Catch {
|
||||
return s.find( infix ) != std::string::npos;
|
||||
}
|
||||
void toLowerInPlace( std::string& s ) {
|
||||
std::transform( s.begin(), s.end(), s.begin(), std::tolower );
|
||||
std::transform( s.begin(), s.end(), s.begin(), ::tolower );
|
||||
}
|
||||
std::string toLower( std::string const& s ) {
|
||||
std::string lc = s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user