Switch to c-based tolower rather than c++ to avoid confusing Visual Studio references #287
This commit is contained in:
1 parent
c7ec97795a
commit
ca97dd1fb8
1 file changed
+1
-1
@@ -78,7 +78,7 @@ struct ci_less : std::binary_function<std::string, std::string, bool> {
|
||||
: public std::binary_function<unsigned char,unsigned char,bool>
|
||||
{
|
||||
bool operator() (unsigned char const & c1, unsigned char const & c2) const {
|
||||
return std::tolower (c1) < std::tolower (c2);
|
||||
return tolower (c1) < tolower (c2);
|
||||
}
|
||||
};
|
||||
bool operator() (std::string const & s1, std::string const & s2) const {
|
||||
|
||||
Reference in new issue
Block a user