diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-01 13:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-02 12:56:34 (GMT) |
commit | 232d5bc3339b81170bba940ebad9513a19ceaffb (patch) | |
tree | 3fe61328d20eb97d1bc80d674a5602385abe7848 /Source/cmCacheManager.cxx | |
parent | 47a907413bb8aa2394a3003c90775b402b53d35a (diff) | |
download | CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.zip CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.tar.gz CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.tar.bz2 |
cmState: more members will use std::string
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index d627465..e3536d5 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -617,7 +617,7 @@ const char* cmCacheManager::CacheEntry::GetProperty( const std::string& prop) const { if (prop == "TYPE") { - return cmState::CacheEntryTypeToString(this->Type); + return cmState::CacheEntryTypeToString(this->Type).c_str(); } if (prop == "VALUE") { return this->Value.c_str(); |