diff options
author | scivision <scivision@users.noreply.github.com> | 2023-02-14 14:06:08 -0500 |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2023-02-14 14:34:03 -0500 |
commit | 7b0a629693bb3771eed9d922b8138ccc6e5ae0c2 (patch) | |
tree | cec26df2a6554f9a7031646931dfb1ec6f70912b /Source/CTest | |
parent | 283432a1aaa72cd0dc5c0bd0e301bccfd52edd01 (diff) | |
download | cmake-7b0a629693bb3771eed9d922b8138ccc6e5ae0c2.tar.gz |
Source: use C++11 nullptr
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestCurl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx index 13b0278b2a..8f7d5811bf 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()) { |