diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-09-06 16:49:57 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-09-06 16:49:57 (GMT) |
commit | 46855d000fcd624d2e1ea3ce79d0e8c6d0ba614c (patch) | |
tree | bb3b8cb7cfd3a836db59c0edc842cb14adf8fe28 /Source/cmCacheManager.h | |
parent | f782759ed0997eb3d71e1187a829da62668ed5d2 (diff) | |
download | CMake-46855d000fcd624d2e1ea3ce79d0e8c6d0ba614c.zip CMake-46855d000fcd624d2e1ea3ce79d0e8c6d0ba614c.tar.gz CMake-46855d000fcd624d2e1ea3ce79d0e8c6d0ba614c.tar.bz2 |
cmCacheManager::GetInitializedCacheValue(): Return as const std::string*
Expose std::string type used internally instead of const char*
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 73923d1..a269271 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -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) { |