diff options
Diffstat (limited to 'Source/CTest/cmCTestCoverageCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 7432d08..9351b0b 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -4,6 +4,7 @@ #include <set> +#include <cm/string_view> #include <cmext/algorithm> #include <cmext/string_view> @@ -19,10 +20,10 @@ void cmCTestCoverageCommand::BindArguments() } void cmCTestCoverageCommand::CheckArguments( - std::vector<std::string> const& keywords) + std::vector<cm::string_view> const& keywords) { this->LabelsMentioned = - !this->Labels.empty() || cm::contains(keywords, "LABELS"); + !this->Labels.empty() || cm::contains(keywords, "LABELS"_s); } cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() |