diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-29 18:47:57 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-31 06:55:13 +0000 |
commit | af028f592b4934cbd92c42d94ee405f764edfb80 (patch) | |
tree | e272ff7ee24c790fd972b9b92d4614cbfa86425b /src/qml/qml/qqmlcompileddata.cpp | |
parent | 77773997d085e83c811fe1e312f0402b932a56ac (diff) |
Moved object/bindings/customparser counters to CompilationUnit
These allow pre-allocating some arrays when instantiating types.
Change-Id: I2ca4ba4a69429918f03a5ba4c501c763e7ffa8dc
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlcompileddata.cpp')
-rw-r--r-- | src/qml/qml/qqmlcompileddata.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp index 569d3e16c4..405bf57448 100644 --- a/src/qml/qml/qqmlcompileddata.cpp +++ b/src/qml/qml/qqmlcompileddata.cpp @@ -55,8 +55,7 @@ QT_BEGIN_NAMESPACE QQmlCompiledData::QQmlCompiledData(QQmlEngine *engine) -: engine(engine), metaTypeId(-1), listMetaTypeId(-1), isRegisteredWithEngine(false), - totalBindingsCount(0), totalParserStatusCount(0) +: engine(engine), metaTypeId(-1), listMetaTypeId(-1), isRegisteredWithEngine(false) { Q_ASSERT(engine); } |