summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageCommand.h
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/cmCTestCoverageCommand.h
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/cmCTestCoverageCommand.h')
-rw-r--r--Source/CTest/cmCTestCoverageCommand.h6
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;
};