aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvmemetaobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-09-16 15:30:51 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-09-25 18:53:17 +0000
commitf01bfcf8edf94f27c24fb3bbaf738bc6134ec4c1 (patch)
tree83fa32c550c3502a03d5555b9518f840d8501fe4 /src/qml/qml/qqmlvmemetaobject_p.h
parent10a712eb980f32492c65dcb8441f6c5d29192a82 (diff)
Cleanups to property allocation in the VMEMO
There's no need for a separate propertiesAllocated bool, we can keep that state in the WeakValue itself. Change-Id: Ife0f517bee9bc5830680eec68983767379a3c2cf Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject_p.h')
-rw-r--r--src/qml/qml/qqmlvmemetaobject_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h
index dcf95b0c69..69514d988b 100644
--- a/src/qml/qml/qqmlvmemetaobject_p.h
+++ b/src/qml/qml/qqmlvmemetaobject_p.h
@@ -201,9 +201,7 @@ public:
QQmlVMEMetaObjectEndpoint *aliasEndpoints;
QV4::WeakValue properties;
- bool propertiesInitialized;
inline void allocateProperties();
- inline bool ensurePropertiesAllocated();
QV4::MemberData *propertiesAsMemberData();
int readPropertyAsInt(int id);