summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUploadCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-29 19:53:09 (GMT)
committerBrad King <brad.king@kitware.com>2022-07-05 20:55:40 (GMT)
commit2586afa31bbbbe174ce1dac9549c0d8671ff5567 (patch)
tree55a83965c51cdafb05702ff6a5ec36a2dd850891 /Source/CTest/cmCTestUploadCommand.cxx
parent5446b15c5c86532573baf831fd41f6240605c6e6 (diff)
downloadCMake-2586afa31bbbbe174ce1dac9549c0d8671ff5567.zip
CMake-2586afa31bbbbe174ce1dac9549c0d8671ff5567.tar.gz
CMake-2586afa31bbbbe174ce1dac9549c0d8671ff5567.tar.bz2
cmCTest*Command:: Use cm::optional for keyword argument presence
Diffstat (limited to 'Source/CTest/cmCTestUploadCommand.cxx')
-rw-r--r--Source/CTest/cmCTestUploadCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestUploadCommand.cxx b/Source/CTest/cmCTestUploadCommand.cxx
index 8289dad..2ed671c 100644
--- a/Source/CTest/cmCTestUploadCommand.cxx
+++ b/Source/CTest/cmCTestUploadCommand.cxx
@@ -5,7 +5,6 @@
#include <set>
#include <sstream>
-#include <cm/string_view>
#include <cm/vector>
#include <cmext/string_view>
@@ -22,7 +21,7 @@ void cmCTestUploadCommand::BindArguments()
this->Bind("CAPTURE_CMAKE_ERROR"_s, this->CaptureCMakeError);
}
-void cmCTestUploadCommand::CheckArguments(std::vector<cm::string_view> const&)
+void cmCTestUploadCommand::CheckArguments()
{
cm::erase_if(this->Files, [this](std::string const& arg) -> bool {
if (!cmSystemTools::FileExists(arg)) {