Added std:: qualification to some functions from C stdlib

This should solve #543, once Clara changes are in as well.
This commit is contained in:
Martin Hořeňovský
2017-01-26 19:11:20 +01:00
parent fd7dde10d3
commit d0620c3495
5 changed files with 6 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ namespace Catch {
return s.find(infix) != std::string::npos;
}
char toLowerCh(char c) {
return static_cast<char>( ::tolower( c ) );
return static_cast<char>( std::tolower( c ) );
}
void toLowerInPlace( std::string& s ) {
std::transform( s.begin(), s.end(), s.begin(), toLowerCh );