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/cmState.h | |
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/cmState.h')
-rw-r--r-- | Source/cmState.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index cd871b9..a744266 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -70,10 +70,12 @@ public: cmStateSnapshot const& originSnapshot); cmStateSnapshot Pop(cmStateSnapshot const& originSnapshot); - static cmStateEnums::CacheEntryType StringToCacheEntryType(const char*); - static bool StringToCacheEntryType(const char*, + static cmStateEnums::CacheEntryType StringToCacheEntryType( + const std::string&); + static bool StringToCacheEntryType(const std::string&, cmStateEnums::CacheEntryType& type); - static const char* CacheEntryTypeToString(cmStateEnums::CacheEntryType); + static const std::string& CacheEntryTypeToString( + cmStateEnums::CacheEntryType); static bool IsCacheEntryType(std::string const& key); bool LoadCache(const std::string& path, bool internal, |