diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-21 23:17:54 +0100 |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2018-12-15 10:52:37 +0100 |
commit | b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (patch) | |
tree | 44678a6866dac777b571e84aed52d62d286654cf /Source/cmExecutionStatus.h | |
parent | 32cb564bea57af007d03fa31d80a0177057fc901 (diff) | |
download | cmake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz |
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmExecutionStatus.h')
-rw-r--r-- | Source/cmExecutionStatus.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/cmExecutionStatus.h b/Source/cmExecutionStatus.h index ac5fe1d727..19462313d5 100644 --- a/Source/cmExecutionStatus.h +++ b/Source/cmExecutionStatus.h @@ -11,13 +11,7 @@ class cmExecutionStatus { public: - cmExecutionStatus() - : ReturnInvoked(false) - , BreakInvoked(false) - , ContinueInvoked(false) - , NestedError(false) - { - } + cmExecutionStatus() {} void Clear() { @@ -40,10 +34,10 @@ public: bool GetNestedError() const { return this->NestedError; } private: - bool ReturnInvoked; - bool BreakInvoked; - bool ContinueInvoked; - bool NestedError; + bool ReturnInvoked = false; + bool BreakInvoked = false; + bool ContinueInvoked = false; + bool NestedError = false; }; #endif |