Fix: member initializer for 'm_fooBar' is redundant

warning: member initializer for 'm_isValid' is redundant
[modernize-use-default-member-init]

Change-Id: Icd521e7d77054512bc0ed6b95cf08440320b0ce0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2018-07-12 00:49:23 +02:00
parent 8eda99afcb
commit ad474f5fcb
9 changed files with 7 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ CMakeConfigItem::CMakeConfigItem() = default;
CMakeConfigItem::CMakeConfigItem(const CMakeConfigItem &other) :
key(other.key), type(other.type), isAdvanced(other.isAdvanced),
inCMakeCache(false), isUnset(other.isUnset), value(other.value),
isUnset(other.isUnset), value(other.value),
documentation(other.documentation), values(other.values)
{}