summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-26 14:37:04 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-26 14:47:24 (GMT)
commit8685d0d2911f01fb7e2d26a2fd904dbf73712ce4 (patch)
tree3b0f49d7be716d1f81b673971965ac31ad0ea43a /Source/CursesDialog
parent7290cea75bd0fe45e0862c6c3976caa3627be939 (diff)
parentaaf59120bfd77a960317923da30e1a70ce0d8aae (diff)
downloadCMake-8685d0d2911f01fb7e2d26a2fd904dbf73712ce4.zip
CMake-8685d0d2911f01fb7e2d26a2fd904dbf73712ce4.tar.gz
CMake-8685d0d2911f01fb7e2d26a2fd904dbf73712ce4.tar.bz2
Merge topic 'source_sweep_cmExpandedList'
aaf59120bf Source sweep: Replace cmExpandList with the shorter cmExpandedList Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3725
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesCacheEntryComposite.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
index f7e3920..f450a1c 100644
--- a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
+++ b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
@@ -71,8 +71,7 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(
cmCursesOptionsWidget* ow =
new cmCursesOptionsWidget(this->EntryWidth, 1, 1, 1);
this->Entry = ow;
- std::vector<std::string> options;
- cmExpandList(stringsProp, options);
+ std::vector<std::string> options = cmExpandedList(stringsProp);
for (auto const& opt : options) {
ow->AddOption(opt);
}