diff options
author | Thiago Macieira <[email protected]> | 2012-06-13 18:22:27 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2019-12-08 18:19:38 +0100 |
commit | b42a2b3c3338a320a438bc081cb885fd4547f01f (patch) | |
tree | 80c729495f45bb9db011ed07c3c542f8a2727989 /src/sql/kernel/qsqlindex.cpp | |
parent | 3d9bae304cb1fa8f5f6f8854141fc8ecca92a333 (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 <[email protected]>
Diffstat (limited to 'src/sql/kernel/qsqlindex.cpp')
-rw-r--r-- | src/sql/kernel/qsqlindex.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sql/kernel/qsqlindex.cpp b/src/sql/kernel/qsqlindex.cpp index 60b0ef69655..5781f24b5ce 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 |