Made previous feature request fix more portable
This commit is contained in:
parent
68d501db58
commit
651e295343
|
@ -93,7 +93,7 @@ bool FileLister::AcceptFile( const std::string &filename )
|
|||
return false;
|
||||
|
||||
std::string extension = filename.substr( dotLocation );
|
||||
std::transform( extension.begin(), extension.end(), extension.begin(), tolower );
|
||||
std::transform( extension.begin(), extension.end(), extension.begin(), static_cast<int(*)(int)> (std::tolower) );
|
||||
|
||||
if( extension == ".cpp" ||
|
||||
extension == ".cxx" ||
|
||||
|
|
Loading…
Reference in New Issue