Add missing initializers
Coverity, CIDs: 10724, 10725. Data member _iterator is not initialized. Change-Id: I0c94f5cef031e208aab1687209282fae0317f0ab Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
This commit is contained in:
parent
269fdbdd2b
commit
e2f7d04a61
@ -1183,6 +1183,7 @@ public:
|
||||
public:
|
||||
template<class T> QAssociativeIterableImpl(const T*p)
|
||||
: _iterable(p)
|
||||
, _iterator(Q_NULLPTR)
|
||||
, _metaType_id_key(qMetaTypeId<typename T::key_type>())
|
||||
, _metaType_flags_key(QTypeInfo<typename T::key_type>::isPointer)
|
||||
, _metaType_id_value(qMetaTypeId<typename T::mapped_type>())
|
||||
@ -1202,6 +1203,7 @@ public:
|
||||
|
||||
QAssociativeIterableImpl()
|
||||
: _iterable(Q_NULLPTR)
|
||||
, _iterator(Q_NULLPTR)
|
||||
, _metaType_id_key(QMetaType::UnknownType)
|
||||
, _metaType_flags_key(0)
|
||||
, _metaType_id_value(QMetaType::UnknownType)
|
||||
|
Loading…
Reference in New Issue
Block a user