mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-15 16:57:10 +00:00
Fix compilation error on MacOSX with missing const
This commit is contained in:
parent
26187b954e
commit
db3bd7c366
@ -85,7 +85,7 @@ struct filepart
|
|||||||
// for progress
|
// for progress
|
||||||
struct case_insensitive_compare_func
|
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;
|
return strcasecmp(a.c_str(), b.c_str()) < 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user