aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-07-04 11:12:45 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-07-05 16:30:14 +0200
commit5cab256d3df331ee0795a3f5f9bb70eb48f12795 (patch)
tree1e1da2f633bd6541035486e8dc598c9e57fd9206 /src/qml/compiler/qv4compileddata_p.h
parenta4ee7adad7c8cf116e504a49142a72bfb4c8acf3 (diff)
Remove unused field member
The location member of signal parameters is not used at the moment, so let's remove it. Change-Id: Ia33bbe3bb79c382a78d61945c285b773b3492b55 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index c4e7a5ba0d..8f427e0a7f 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -607,9 +607,8 @@ struct Parameter
quint32_le nameIndex;
quint32_le type;
quint32_le customTypeNameIndex;
- Location location;
};
-static_assert(sizeof(Parameter) == 16, "Parameter structure needs to have the expected size to be binary compatible on disk when generated by host compiler and loaded by target");
+static_assert(sizeof(Parameter) == 12, "Parameter structure needs to have the expected size to be binary compatible on disk when generated by host compiler and loaded by target");
struct Signal
{