summaryrefslogtreecommitdiff
path: root/Source/cmGlobVerificationManager.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-11-21 23:17:54 +0100
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 10:52:37 +0100
commitb2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (patch)
tree44678a6866dac777b571e84aed52d62d286654cf /Source/cmGlobVerificationManager.h
parent32cb564bea57af007d03fa31d80a0177057fc901 (diff)
downloadcmake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmGlobVerificationManager.h')
-rw-r--r--Source/cmGlobVerificationManager.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmGlobVerificationManager.h b/Source/cmGlobVerificationManager.h
index cf04c97c72..cdbd27510a 100644
--- a/Source/cmGlobVerificationManager.h
+++ b/Source/cmGlobVerificationManager.h
@@ -70,13 +70,10 @@ private:
struct CacheEntryValue
{
- bool Initialized;
+ bool Initialized = false;
std::vector<std::string> Files;
std::vector<std::pair<std::string, cmListFileBacktrace>> Backtraces;
- CacheEntryValue()
- : Initialized(false)
- {
- }
+ CacheEntryValue() {}
};
typedef std::map<CacheEntryKey, CacheEntryValue> CacheEntryMap;