summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.h
diff options
context:
space:
mode:
authorMartin Duffy <martin.duffy@kitware.com>2022-05-12 20:40:58 (GMT)
committerMartin Duffy <martin.duffy@kitware.com>2022-05-12 20:40:58 (GMT)
commite1c85e29f4a09b45fa3cb29e4f225e68c32d9932 (patch)
treec0ba073c2e839fbe40c988fe9a04beb5a5753daf /Source/CursesDialog/cmCursesMainForm.h
parent2019bf509268e336f4f68ddf0c05dce49dc289c6 (diff)
downloadCMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.zip
CMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.tar.gz
CMake-e1c85e29f4a09b45fa3cb29e4f225e68c32d9932.tar.bz2
ccmake: Move Initialization of Fields Inline
Move initialization of simple fields in cmCursesMainForm inline.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h
index c6db66f..9eb6418 100644
--- a/Source/CursesDialog/cmCursesMainForm.h
+++ b/Source/CursesDialog/cmCursesMainForm.h
@@ -138,7 +138,7 @@ protected:
// Output produced by the last pass
std::vector<std::string> Outputs;
// Did the last pass produced outputs of interest (errors, warnings, ...)
- bool HasNonStatusOutputs;
+ bool HasNonStatusOutputs = false;
// Last progress bar
std::string LastProgress;
@@ -155,17 +155,17 @@ protected:
// Fields displayed. Includes labels, new entry markers, entries
std::vector<FIELD*> Fields;
// Number of entries shown (depends on mode -normal or advanced-)
- size_t NumberOfVisibleEntries;
- bool AdvancedMode;
+ size_t NumberOfVisibleEntries = 0;
+ bool AdvancedMode = false;
// Did the iteration converge (no new entries) ?
- bool OkToGenerate;
+ bool OkToGenerate = false;
// Number of pages displayed
- int NumberOfPages;
+ int NumberOfPages = 0;
int InitialWidth;
std::unique_ptr<cmake> CMakeInstance;
std::string SearchString;
std::string OldSearchString;
- bool SearchMode;
+ bool SearchMode = false;
};