summaryrefslogtreecommitdiffstats
path: root/Source/cmCurl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCurl.h')
-rw-r--r--Source/cmCurl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCurl.h b/Source/cmCurl.h
index 9c1e337..b5134f4 100644
--- a/Source/cmCurl.h
+++ b/Source/cmCurl.h
@@ -8,7 +8,7 @@
#include <cm3p/curl/curl.h>
-std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = nullptr);
+std::string cmCurlSetCAInfo(::CURL* curl, const std::string& cafile = {});
std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
const std::string& netrc_file);
std::string cmCurlFixFileURL(std::string url);