diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-21 22:17:54 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2018-12-15 09:52:37 (GMT) |
commit | b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (patch) | |
tree | 44678a6866dac777b571e84aed52d62d286654cf /Source/cmQtAutoGeneratorMocUic.h | |
parent | 32cb564bea57af007d03fa31d80a0177057fc901 (diff) | |
download | CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.zip CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.bz2 |
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmQtAutoGeneratorMocUic.h')
-rw-r--r-- | Source/cmQtAutoGeneratorMocUic.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmQtAutoGeneratorMocUic.h b/Source/cmQtAutoGeneratorMocUic.h index 2226954..edf597c 100644 --- a/Source/cmQtAutoGeneratorMocUic.h +++ b/Source/cmQtAutoGeneratorMocUic.h @@ -404,7 +404,7 @@ private: MocSettingsT Moc_; UicSettingsT Uic_; // -- Progress - StageT Stage_; + StageT Stage_ = StageT::SETTINGS_READ; // -- Job queues std::mutex JobsMutex_; struct @@ -416,15 +416,15 @@ private: JobQueueT Uic; } JobQueues_; JobQueueT JobQueue_; - std::size_t volatile JobsRemain_; - bool volatile JobError_; - bool volatile JobThreadsAbort_; + std::size_t volatile JobsRemain_ = 0; + bool volatile JobError_ = false; + bool volatile JobThreadsAbort_ = false; std::condition_variable JobsConditionRead_; // -- Moc meta std::set<std::string> MocIncludedStrings_; std::set<std::string> MocIncludedFiles_; std::set<std::string> MocAutoFiles_; - bool volatile MocAutoFileUpdated_; + bool volatile MocAutoFileUpdated_ = false; // -- Settings file std::string SettingsFile_; std::string SettingsStringMoc_; |