From db3bd7c366d6a8a5bffa8ea0f29d7bb694d84ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Desch=C3=AAnes?= Date: Sat, 4 Jan 2014 21:24:27 -0500 Subject: [PATCH] Fix compilation error on MacOSX with missing const --- src/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curl.h b/src/curl.h index 84d05d4..0b164a2 100644 --- a/src/curl.h +++ b/src/curl.h @@ -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; } };