summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-13 18:22:27 +0200
committerLars Knoll <lars.knoll@qt.io>2019-12-08 18:19:38 +0100
commitb42a2b3c3338a320a438bc081cb885fd4547f01f (patch)
tree80c729495f45bb9db011ed07c3c542f8a2727989 /src/sql/kernel
parent3d9bae304cb1fa8f5f6f8854141fc8ecca92a333 (diff)
Inline the size and begin pointer in QVector
Add QGenericArray to simplify operations. This class can be shared by other tool classes. If there is nothing else to share it, we can move the code onto qvector.h. The one candidate is QList. All tests pass and valgrind is good. Change-Id: Ieaa80709caf5f50520aa97312ab726396f5475eb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/sql/kernel')
-rw-r--r--src/sql/kernel/qsqlindex.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sql/kernel/qsqlindex.cpp b/src/sql/kernel/qsqlindex.cpp
index 60b0ef6965..5781f24b5c 100644
--- a/src/sql/kernel/qsqlindex.cpp
+++ b/src/sql/kernel/qsqlindex.cpp
@@ -44,9 +44,6 @@
QT_BEGIN_NAMESPACE
-// ### Qt 6: remove the static assertion, the 'sorts' field was changed from QList to QVector in Qt 5.6
-Q_STATIC_ASSERT((sizeof(QList<bool>) == sizeof(QVector<bool>)));
-
/*!
\class QSqlIndex
\brief The QSqlIndex class provides functions to manipulate and