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/cmCTestCoverageCommand.h | |
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/cmCTestCoverageCommand.h')
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.h b/Source/CTest/cmCTestCoverageCommand.h index 20bb1a8..dc8f71e 100644 --- a/Source/CTest/cmCTestCoverageCommand.h +++ b/Source/CTest/cmCTestCoverageCommand.h @@ -9,7 +9,7 @@ #include <vector> #include <cm/memory> -#include <cm/string_view> +#include <cm/optional> #include "cmCTestHandlerCommand.h" #include "cmCommand.h" @@ -42,9 +42,7 @@ public: protected: void BindArguments() override; - void CheckArguments(std::vector<cm::string_view> const& keywords) override; cmCTestGenericHandler* InitializeHandler() override; - bool LabelsMentioned; - std::vector<std::string> Labels; + cm::optional<std::vector<std::string>> Labels; }; |