summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-02-14 19:06:08 (GMT)
committerscivision <scivision@users.noreply.github.com>2023-02-14 19:34:03 (GMT)
commit7b0a629693bb3771eed9d922b8138ccc6e5ae0c2 (patch)
treecec26df2a6554f9a7031646931dfb1ec6f70912b /Source/CTest
parent283432a1aaa72cd0dc5c0bd0e301bccfd52edd01 (diff)
downloadCMake-7b0a629693bb3771eed9d922b8138ccc6e5ae0c2.zip
CMake-7b0a629693bb3771eed9d922b8138ccc6e5ae0c2.tar.gz
CMake-7b0a629693bb3771eed9d922b8138ccc6e5ae0c2.tar.bz2
Source: use C++11 nullptr
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestCurl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx
index 13b0278..8f7d581 100644
--- a/Source/CTest/cmCTestCurl.cxx
+++ b/Source/CTest/cmCTestCurl.cxx
@@ -157,7 +157,7 @@ bool cmCTestCurl::UploadFile(std::string const& local_file,
// Now run off and do what you've been told!
::curl_easy_perform(this->Curl);
::fclose(ftpfile);
- ::curl_easy_setopt(this->Curl, CURLOPT_HTTPHEADER, NULL);
+ ::curl_easy_setopt(this->Curl, CURLOPT_HTTPHEADER, nullptr);
::curl_slist_free_all(headers);
if (!responseData.empty()) {