aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r--src/qml/qml/qqmlpropertycache_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h
index 4c9395601c..93661caf91 100644
--- a/src/qml/qml/qqmlpropertycache_p.h
+++ b/src/qml/qml/qqmlpropertycache_p.h
@@ -268,10 +268,8 @@ private:
}
private:
+ int propertyIndexCacheStart; // placed here to avoid gap between QQmlRefCount and _parent
QQmlPropertyCache *_parent;
- int propertyIndexCacheStart;
- int methodIndexCacheStart;
- int signalHandlerIndexCacheStart;
IndexCache propertyIndexCache;
IndexCache methodIndexCache;
@@ -280,15 +278,17 @@ private:
AllowedRevisionCache allowedRevisionCache;
QVector<QQmlEnumData> enumCache;
- bool _hasPropertyOverrides : 1;
- bool _ownMetaObject : 1;
RefCountedMetaObject _metaObject;
QByteArray _dynamicClassName;
QByteArray _dynamicStringData;
QString _defaultPropertyName;
QQmlPropertyCacheMethodArguments *argumentsCache;
- int _jsFactoryMethodIndex;
QByteArray _checksum;
+ int methodIndexCacheStart;
+ int signalHandlerIndexCacheStart;
+ int _jsFactoryMethodIndex;
+ bool _hasPropertyOverrides;
+ bool _ownMetaObject;
};
// Returns this property cache's metaObject. May be null if it hasn't been created yet.