diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-05 12:32:14 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-13 09:29:07 (GMT) |
commit | f9bcde974e7faf866979e2589dab3d5ee10776eb (patch) | |
tree | 1c5f8b1db8d4d88b8c1b77bea7a9a68601821dba /Source/CTest/cmCTestGenericHandler.cxx | |
parent | 9488f8a7b7c4b4f180d16cde8a819a7a5216ef56 (diff) | |
download | CMake-f9bcde974e7faf866979e2589dab3d5ee10776eb.zip CMake-f9bcde974e7faf866979e2589dab3d5ee10776eb.tar.gz CMake-f9bcde974e7faf866979e2589dab3d5ee10776eb.tar.bz2 |
cmCTestGenericHandler::GetOption returns cmProp
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index 48cc0e4..bd33055 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -72,13 +72,13 @@ void cmCTestGenericHandler::Initialize() this->MultiOptions = this->PersistentMultiOptions; } -const char* cmCTestGenericHandler::GetOption(const std::string& op) +cmProp cmCTestGenericHandler::GetOption(const std::string& op) { auto remit = this->Options.find(op); if (remit == this->Options.end()) { return nullptr; } - return remit->second.c_str(); + return cmProp(remit->second); } std::vector<std::string> cmCTestGenericHandler::GetMultiOption( |