Merge pull request #4 from pdeschen/patch-1

Fix compilation error on MacOSX with missing const
This commit is contained in:
rrizun 2014-01-05 05:24:54 -08:00
commit 654c58c90a

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;
}
};