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/cmQtAutoGenInitializer.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/cmQtAutoGenInitializer.h')
-rw-r--r-- | Source/cmQtAutoGenInitializer.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h index d817848..5cef1b3 100644 --- a/Source/cmQtAutoGenInitializer.h +++ b/Source/cmQtAutoGenInitializer.h @@ -25,11 +25,7 @@ public: class Qrc { public: - Qrc() - : Generated(false) - , Unique(false) - { - } + Qrc() {} public: std::string LockFile; @@ -40,8 +36,8 @@ public: std::string SettingsFile; std::map<std::string, std::string> ConfigSettingsFile; std::string RccFile; - bool Generated; - bool Unique; + bool Generated = false; + bool Unique = false; std::vector<std::string> Options; std::vector<std::string> Resources; }; |