Reverted std::tolower to ::tolower

This commit is contained in:
Craig Hutchinson 2015-12-03 15:10:34 +00:00
parent a84ca2e2f7
commit 7ae2f08fa5

View File

@ -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;