summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitCommand.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-14 16:35:21 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-15 16:08:19 (GMT)
commit8f5245168268c99f78074cde24f9dfe75cfaea93 (patch)
tree1a1463de17253094f50d78febfaacd0c12b76c94 /Source/CTest/cmCTestSubmitCommand.cxx
parent8d0ae460de553afdf0a2b272a6aca01667c781da (diff)
downloadCMake-8f5245168268c99f78074cde24f9dfe75cfaea93.zip
CMake-8f5245168268c99f78074cde24f9dfe75cfaea93.tar.gz
CMake-8f5245168268c99f78074cde24f9dfe75cfaea93.tar.bz2
Use new SetOption signatures
Diffstat (limited to 'Source/CTest/cmCTestSubmitCommand.cxx')
-rw-r--r--Source/CTest/cmCTestSubmitCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestSubmitCommand.cxx b/Source/CTest/cmCTestSubmitCommand.cxx
index 7aeb288..6824752 100644
--- a/Source/CTest/cmCTestSubmitCommand.cxx
+++ b/Source/CTest/cmCTestSubmitCommand.cxx
@@ -119,15 +119,15 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler()
handler->SetHttpHeaders(this->HttpHeaders);
}
- handler->SetOption("RetryDelay", this->RetryDelay.c_str());
- handler->SetOption("RetryCount", this->RetryCount.c_str());
+ handler->SetOption("RetryDelay", this->RetryDelay);
+ handler->SetOption("RetryCount", this->RetryCount);
handler->SetOption("InternalTest", this->InternalTest ? "ON" : "OFF");
handler->SetQuiet(this->Quiet);
if (this->CDashUpload) {
- handler->SetOption("CDashUploadFile", this->CDashUploadFile.c_str());
- handler->SetOption("CDashUploadType", this->CDashUploadType.c_str());
+ handler->SetOption("CDashUploadFile", this->CDashUploadFile);
+ handler->SetOption("CDashUploadType", this->CDashUploadType);
}
return handler;
}