summaryrefslogtreecommitdiffstats
path: root/Source/cmCurl.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-18 09:02:44 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-19 17:10:59 (GMT)
commit062432a6bc1f334f17200a88a04d3c8e02a4fd94 (patch)
tree8304c27c4d72b82ccc4faccfe313ae51c3ea3ece /Source/cmCurl.h
parent96c38493849f05724ec5c2b2e0152c5c86c3b5b0 (diff)
downloadCMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.zip
CMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.tar.gz
CMake-062432a6bc1f334f17200a88a04d3c8e02a4fd94.tar.bz2
cmCurlSetCAInfo: use std::string as argument
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);