Switch to c-based tolower rather than c++ to avoid confusing Visual Studio references #287

This commit is contained in:
Peter Thorson
2014-02-02 17:04:50 -06:00
parent c7ec97795a
commit ca97dd1fb8

View File

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