mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
cmCacheManager::GetInitializedCacheValue(): Return as const std::string*
Expose std::string type used internally instead of const char*
This commit is contained in:
@@ -126,7 +126,7 @@ public:
|
||||
int GetSize() { return static_cast<int>(this->Cache.size()); }
|
||||
|
||||
///! Get a value from the cache given a key
|
||||
const char* GetInitializedCacheValue(const std::string& key) const;
|
||||
const std::string* GetInitializedCacheValue(const std::string& key) const;
|
||||
|
||||
const char* GetCacheEntryValue(const std::string& key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user