Fix compilation error on MacOSX with missing const

This commit is contained in:
Pascal Deschênes 2014-01-04 21:24:27 -05:00
parent 26187b954e
commit db3bd7c366

View File

@ -85,7 +85,7 @@ struct filepart
// for progress
struct case_insensitive_compare_func
{
bool operator()(const std::string& a, const std::string& b){
bool operator()(const std::string& a, const std::string& b) const {
return strcasecmp(a.c_str(), b.c_str()) < 0;
}
};