summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-01-07 15:05:06 +0100
committerLars Knoll <lars.knoll@qt.io>2019-02-08 21:55:29 +0000
commit5cc6f90910082f35e3f5340493facbc8c175f65f (patch)
tree9b07659bdb85797471ecaec46fe815415a293cac /tests
parentab92b9e40025dcf08c14232de762a268201a78b4 (diff)
Move all connection related data into one data structure
Adn create that data structure on demand on the heap. This reduces the size of QObjectPrivate if there are no connections. If we have connections, it'll use the same amount of allocations and memory as before. Change-Id: I900f6980a2cd8a5f72c3ad18697b5dd49100217d Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/other/toolsupport/tst_toolsupport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp
index 27bc6ba646..8c129adaf3 100644
--- a/tests/auto/other/toolsupport/tst_toolsupport.cpp
+++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp
@@ -126,9 +126,9 @@ void tst_toolsupport::offsets_data()
#ifdef Q_PROCESSOR_X86
// x86 32-bit has weird alignment rules. Refer to QtPrivate::AlignOf in
// qglobal.h for more details.
- data << 160 << 240;
+ data << 152 << 224;
#else
- data << 164 << 240;
+ data << 156 << 224;
#endif
}
#endif