Apply some code cosmetics to iterables

Change-Id: I552eca017d5a473ea91ca43d0a0459ef2e8288b2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Ulf Hermann 2020-09-22 08:40:55 +02:00
parent c39878dd30
commit eda30d1986
2 changed files with 6 additions and 6 deletions

View File

@ -101,7 +101,7 @@ public:
template<class T>
QAssociativeIterable(const T *p)
: QIterable(QMetaAssociation::fromContainer<T>(), p)
: QIterable(QMetaAssociation::fromContainer<T>(), p)
{
}
@ -122,15 +122,15 @@ public:
{
}
QAssociativeIterable(const QMetaAssociation &metaSequence, const QMetaType &metaType,
QAssociativeIterable(const QMetaAssociation &metaAssociation, const QMetaType &metaType,
void *iterable)
: QIterable(metaSequence, metaType.alignOf(), iterable)
: QIterable(metaAssociation, metaType.alignOf(), iterable)
{
}
QAssociativeIterable(const QMetaAssociation &metaSequence, const QMetaType &metaType,
QAssociativeIterable(const QMetaAssociation &metaAssociation, const QMetaType &metaType,
const void *iterable)
: QIterable(metaSequence, metaType.alignOf(), iterable)
: QIterable(metaAssociation, metaType.alignOf(), iterable)
{
}

View File

@ -93,7 +93,7 @@ public:
template<class T>
QSequentialIterable(const T *p)
: QIterable(QMetaSequence::fromContainer<T>(), p)
: QIterable(QMetaSequence::fromContainer<T>(), p)
{
Q_UNUSED(m_revision);
}