diff options
author | Brad King <brad.king@kitware.com> | 2022-06-29 19:53:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-05 20:55:40 (GMT) |
commit | 2586afa31bbbbe174ce1dac9549c0d8671ff5567 (patch) | |
tree | 55a83965c51cdafb05702ff6a5ec36a2dd850891 /Source/CTest/cmCTestUploadCommand.cxx | |
parent | 5446b15c5c86532573baf831fd41f6240605c6e6 (diff) | |
download | CMake-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.cxx | 3 |
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)) { |