diff options
author | Brad King <brad.king@kitware.com> | 2023-05-31 13:34:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-05-31 13:35:25 (GMT) |
commit | c4f273e722f76a62183265200a3dd18a50b1a60a (patch) | |
tree | f97b761f77deaf149d0302c84533e85d07de19ce /Source/cmState.cxx | |
parent | 826825fe34df12e7e9b5d46a9df0011b0c70b1ba (diff) | |
parent | 4fc322bab421a83b12977aadc7dca247db8ae541 (diff) | |
download | CMake-c4f273e722f76a62183265200a3dd18a50b1a60a.zip CMake-c4f273e722f76a62183265200a3dd18a50b1a60a.tar.gz CMake-c4f273e722f76a62183265200a3dd18a50b1a60a.tar.bz2 |
Merge topic 'AddCacheEntry-suppress-raw-pointer-usage'
4fc322bab4 AddCacheEntry: Suppress raw pointer usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8520
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index a72f830..2596d8c 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -209,7 +209,7 @@ bool cmState::GetCacheEntryPropertyAsBool(std::string const& key, } void cmState::AddCacheEntry(const std::string& key, cmValue value, - const char* helpString, + const std::string& helpString, cmStateEnums::CacheEntryType type) { this->CacheManager->AddCacheEntry(key, value, helpString, type); |