diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-25 18:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-25 18:46:52 (GMT) |
commit | a7f2ff16a48486ec0ef5a1a2d73e13cf4106a50e (patch) | |
tree | 91964f0266720537aae09ce0f42b8daa2107dba2 /Source/CursesDialog/cmCursesCacheEntryComposite.cxx | |
parent | ea54f8d44199502d6d02369ea0a2de4e9ef8c1ca (diff) | |
download | CMake-a7f2ff16a48486ec0ef5a1a2d73e13cf4106a50e.zip CMake-a7f2ff16a48486ec0ef5a1a2d73e13cf4106a50e.tar.gz CMake-a7f2ff16a48486ec0ef5a1a2d73e13cf4106a50e.tar.bz2 |
cmState::GetCacheEntryProperty: return cmProp
Diffstat (limited to 'Source/CursesDialog/cmCursesCacheEntryComposite.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesCacheEntryComposite.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx index 9a0d966..9250fbc 100644 --- a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx +++ b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx @@ -71,11 +71,11 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite( break; } case cmStateEnums::STRING: { - const char* stringsProp = state->GetCacheEntryProperty(key, "STRINGS"); + cmProp stringsProp = state->GetCacheEntryProperty(key, "STRINGS"); if (stringsProp) { auto ow = cm::make_unique<cmCursesOptionsWidget>(this->EntryWidth, 1, 1, 1); - for (std::string const& opt : cmExpandedList(stringsProp)) { + for (std::string const& opt : cmExpandedList(*stringsProp)) { ow->AddOption(opt); } ow->SetOption(*value); |