summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-08-12 11:33:13 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-02 22:44:27 +0200
commit331c106bdbf12c6925c2c40f3813b71c65caf9a2 (patch)
tree4a44b8be13f5e636ad7f0a38f1474b438531cc5d /tests
parent733d890430542e907b9014a2cf73d63edf931245 (diff)
Remove the special handling of QProperty<bool>
Since we will be storing property data differently in most cases, having this special case would create too many additional complications. Change-Id: I27042b0730559bb375d8e3c07324398403a9885d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
index 20565080ff..ebb8980d61 100644
--- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
+++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
@@ -259,8 +259,6 @@ void tst_QProperty::propertyArrays()
void tst_QProperty::boolProperty()
{
- static_assert(sizeof(QProperty<bool>) == sizeof(void*), "Size of QProperty<bool> specialization must not exceed size of pointer");
-
QProperty<bool> first(true);
QProperty<bool> second(false);
QProperty<bool> all;