diff options
author | Vitaly Stakhovsky <vvs31415@users.noreply.gitlab.com> | 2023-01-03 12:50:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@users.noreply.gitlab.com> | 2023-01-03 12:49:22 (GMT) |
commit | 0ee984defa7cd45d6596b9873886f20b72d02efd (patch) | |
tree | 327e3d31c1c7c6a9ef36d65960c2b5ab118f49aa /Source/CTest/cmCTestGenericHandler.h | |
parent | 323ff3e9aba89b256906a6a14f336091e83a53fd (diff) | |
download | CMake-0ee984defa7cd45d6596b9873886f20b72d02efd.zip CMake-0ee984defa7cd45d6596b9873886f20b72d02efd.tar.gz CMake-0ee984defa7cd45d6596b9873886f20b72d02efd.tar.bz2 |
CTest: Use std::string arguments
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h index 4bdb9c2..a0197d6 100644 --- a/Source/CTest/cmCTestGenericHandler.h +++ b/Source/CTest/cmCTestGenericHandler.h @@ -85,17 +85,9 @@ public: * so calling a single-getter for a key that has only been set * as a multi-value will return nullptr. */ - void SetPersistentOption(const std::string& op, const char* value); - void SetPersistentOption(const std::string& op, const std::string& value) - { - this->SetPersistentOption(op, cmValue(value)); - } + void SetPersistentOption(const std::string& op, const std::string& value); void SetPersistentOption(const std::string& op, cmValue value); - void SetOption(const std::string& op, const char* value); - void SetOption(const std::string& op, const std::string& value) - { - this->SetOption(op, cmValue(value)); - } + void SetOption(const std::string& op, const std::string& value); void SetOption(const std::string& op, cmValue value); cmValue GetOption(const std::string& op); |